seller/webserver (sha256:7f53cf87db11ec2f0c740a173c06bdbaa4011abca0920f34f75fc40166186458)
Published 2025-12-03 17:08:27 +00:00 by egor3f
Installation
docker pull git.efprojects.com/egor3f/seller/webserver@sha256:7f53cf87db11ec2f0c740a173c06bdbaa4011abca0920f34f75fc40166186458sha256:7f53cf87db11ec2f0c740a173c06bdbaa4011abca0920f34f75fc40166186458Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1763337600' |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; apt-get dist-clean # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; dpkgArch="$(dpkg --print-architecture)"; if [ "$dpkgArch" = 'arm64' ]; then apt-get install -y --no-install-recommends binutils-gold; fi; rm -rf /var/lib/apt/lists/* # buildkit |
| ENV GOLANG_VERSION=1.25.5 |
| ENV GOTOOLCHAIN=local |
| ENV GOPATH=/go |
| ENV PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| COPY /target/ / # buildkit |
| RUN /bin/sh -c mkdir -p "$GOPATH/src" "$GOPATH/bin" && chmod -R 1777 "$GOPATH" # buildkit |
| WORKDIR /go |
| WORKDIR /app |
| RUN /bin/sh -c go install github.com/pressly/goose/v3/cmd/goose@latest # buildkit |
| COPY go.mod go.sum ./ # buildkit |
| RUN /bin/sh -c go mod download # buildkit |
| COPY . . # buildkit |
| RUN /bin/sh -c go build -o bin/server git.efprojects.com/egor3f/seller/cmd/server # buildkit |
| EXPOSE [5000/tcp] |
| CMD ["/app/entrypoint_webserver.sh"] |