Block a user
portfolio-back (latest)
Published 2025-11-02 00:10:38 +01:00 by toto
Installation
docker pull gitea.totorocodes.fr/toto/portfolio-back:latestsha256:ed4eeafe5f1469d8832ff3839628530e31816e9d2d8abd79be063454d92624a9
Image Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1760918400' |
| 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.3 |
| 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 |
| COPY . . # buildkit |
| RUN /bin/sh -c go build # buildkit |
| EXPOSE [3000/tcp] |
| CMD ["./portfolio-back"] |