Block a user
withings_worker (0.0.1)
Published 2025-10-23 19:46:49 +00:00 by maksim
Installation
docker pull git.mak-sim.ru/maksim/withings_worker:0.0.1sha256:18cfd714da732ebf7979a13c589806358a9a64ee7b50d21f991077783b50479dImage Layers
| # debian.sh --arch 'amd64' out/ 'trixie' '@1759104000' |
| 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.2 |
| 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 go.mod go.sum ./ # buildkit |
| RUN /bin/sh -c go mod download # buildkit |
| COPY . . # buildkit |
| RUN /bin/sh -c go build -o withings-processor . # buildkit |
| CMD ["./withings-processor"] |