woodpecker-email (sha256:41c96a783c8ea9f1dfbeebab169571c6441cbed04a8597eab0f675dc23e0a0a2)

Published 2024-01-14 01:12:43 +01:00 by Bluemedia

Installation

docker pull git.bluemedia.dev/bluemedia/woodpecker-email@sha256:41c96a783c8ea9f1dfbeebab169571c6441cbed04a8597eab0f675dc23e0a0a2
sha256:41c96a783c8ea9f1dfbeebab169571c6441cbed04a8597eab0f675dc23e0a0a2

Image Layers

ADD file:9e185c2d9ca8a231a39ee2b1761fcdff75065252d25a65a207acb7a319c1cf23 in /
CMD ["bash"]
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; rm -rf /var/lib/apt/lists/*
ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV GOLANG_VERSION=1.18.10
/bin/sh -c set -eux; arch="$(dpkg --print-architecture)"; arch="${arch##*-}"; url=; case "$arch" in 'amd64') url='https://dl.google.com/go/go1.18.10.linux-amd64.tar.gz'; sha256='5e05400e4c79ef5394424c0eff5b9141cb782da25f64f79d54c98af0a37f8d49'; ;; 'armel') export GOARCH='arm' GOARM='5' GOOS='linux'; ;; 'armhf') url='https://dl.google.com/go/go1.18.10.linux-armv6l.tar.gz'; sha256='e9f2f2361364c04a8f0d12228e4c5c2b870f4d1639ca92031c4013a95aa205be'; ;; 'arm64') url='https://dl.google.com/go/go1.18.10.linux-arm64.tar.gz'; sha256='160497c583d4c7cbc1661230e68b758d01f741cf4bece67e48edc4fdd40ed92d'; ;; 'i386') url='https://dl.google.com/go/go1.18.10.linux-386.tar.gz'; sha256='9249551992c9518ec8ce6690d32206f12ed9122e360407f7e7ab9a6adc627a9b'; ;; 'mips64el') export GOARCH='mips64le' GOOS='linux'; ;; 'ppc64el') url='https://dl.google.com/go/go1.18.10.linux-ppc64le.tar.gz'; sha256='761014290febf0e10dfeba44ec551792dad32270a11debee8ed4f30c5f3c760d'; ;; 's390x') url='https://dl.google.com/go/go1.18.10.linux-s390x.tar.gz'; sha256='9755ab0460a04b535e513fac84db2e1ae6a197d66d3a097e14aed3b3114df85d'; ;; *) echo >&2 "error: unsupported architecture '$arch' (likely packaging update needed)"; exit 1 ;; esac; build=; if [ -z "$url" ]; then build=1; url='https://dl.google.com/go/go1.18.10.src.tar.gz'; sha256='9cedcca58845df0c9474ae00274c44a95c9dfaefb132fc59921c28c7c106f8e6'; echo >&2; echo >&2 "warning: current architecture ($arch) does not have a compatible Go binary release; will be building from source"; echo >&2; fi; wget -O go.tgz.asc "$url.asc"; wget -O go.tgz "$url" --progress=dot:giga; echo "$sha256 *go.tgz" | sha256sum -c -; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; gpg --batch --keyserver keyserver.ubuntu.com --recv-keys '2F52 8D36 D67B 69ED F998 D857 78BD 6547 3CB3 BD13'; gpg --batch --verify go.tgz.asc go.tgz; gpgconf --kill all; rm -rf "$GNUPGHOME" go.tgz.asc; tar -C /usr/local -xzf go.tgz; rm go.tgz; if [ -n "$build" ]; then savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends golang-go; export GOCACHE='/tmp/gocache'; ( cd /usr/local/go/src; export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOHOSTOS="$GOOS" GOHOSTARCH="$GOARCH"; ./make.bash; ); apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; rm -rf /usr/local/go/pkg/*/cmd /usr/local/go/pkg/bootstrap /usr/local/go/pkg/obj /usr/local/go/pkg/tool/*/api /usr/local/go/pkg/tool/*/go_bootstrap /usr/local/go/src/cmd/dist/dist "$GOCACHE" ; fi; go version
ENV GOPATH=/go
ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
/bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 777 "$GOPATH"
WORKDIR /go
WORKDIR /go/src/woodpecker-email
COPY . . # buildkit
RUN /bin/sh -c apt-get update && apt-get -y install ca-certificates tzdata # buildkit
RUN /bin/sh -c make build && cp /go/src/woodpecker-email/woodpecker-email /bin # buildkit
ENTRYPOINT ["/bin/woodpecker-email"]

Labels

Key Value
org.opencontainers.image.created 2024-01-14T00:09:34Z
org.opencontainers.image.revision 2e7f70fb172df88bce2dc54efb2ccb369a88f685
org.opencontainers.image.source https://git.bluemedia.dev/Bluemedia/docker-image-pipelines.git
org.opencontainers.image.url https://git.bluemedia.dev/Bluemedia/docker-image-pipelines
Details
Container
2024-01-14 01:12:43 +01:00
0
OCI / Docker
linux/arm64
346 MiB
Versions (1) View all
latest 2024-01-14