ordercollector (latest)

Published 2024-05-08 12:08:49 +00:00 by m3tam3re

Installation

docker pull code.lanakk.com/lanakk/ordercollector:latest
sha256:1afa66c9d6e1fdf5c241a061a0649d233c748391f9a185919af46647cf514d60

Image Layers

ADD file:0e2d487cd80773e947c8aae6daad3d565b7bb019a954af2b8bff188681c00d81 in /
CMD ["/bin/sh"]
/bin/sh -c apk add --no-cache ca-certificates
/bin/sh -c [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
ENV PATH=/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV GOLANG_VERSION=1.14.15
/bin/sh -c set -eux; apk add --no-cache --virtual .build-deps bash gcc gnupg go musl-dev openssl ; export GOROOT_BOOTSTRAP="$(go env GOROOT)" GOOS="$(go env GOOS)" GOARCH="$(go env GOARCH)" GOHOSTOS="$(go env GOHOSTOS)" GOHOSTARCH="$(go env GOHOSTARCH)" ; apkArch="$(apk --print-arch)"; case "$apkArch" in armhf) export GOARM='6' ;; armv7) export GOARM='7' ;; x86) export GO386='387' ;; esac; url='https://storage.googleapis.com/golang/go1.14.15.src.tar.gz'; sha256='7ed13b2209e54a451835997f78035530b331c5b6943cdcd68a3d815fdc009149'; wget -O go.tgz.asc "$url.asc"; wget -O go.tgz "$url"; echo "$sha256 *go.tgz" | sha256sum -c -; export GNUPGHOME="$(mktemp -d)"; gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys 'EB4C 1BFD 4F04 2F6D DDCC EC91 7721 F63B D38B 4796'; 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; goEnv="$(go env | sed -rn -e '/^GO(OS|ARCH|ARM|386)=/s//export \0/p')"; eval "$goEnv"; [ -n "$GOOS" ]; [ -n "$GOARCH" ]; ( cd /usr/local/go/src; ./make.bash; ); apk del --no-network .build-deps; go install std; 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 ; 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/app
COPY dir:2183b90a0df4b312a3035007248d16c0e0eeea3834fada1266914d28eddd8903 in .
/bin/sh -c go get -d -v ./...
/bin/sh -c go install -v ./...
CMD ordercollect --port 8080
EXPOSE 8080

Labels

Key Value
io.buildah.version 1.35.3
Details
Container
2024-05-08 12:08:49 +00:00
2
OCI / Docker
linux/amd64
141 MiB
Versions (1) View all
latest 2024-05-08