fahdbot (7926f218ca239621d93d9d3f06ee8ea8dcfc5227)
Installation
docker pull git.sakoma.wang/llamprecht/fahdbot:7926f218ca239621d93d9d3f06ee8ea8dcfc5227sha256:acfdc8640c9852a955bbc79ff1ef82c8526d68664425b06f4dfd4678f341dd87Image 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 |
| COPY go.mod go.sum ./ |
| RUN go mod download |
| COPY *.go ./ |
| RUN CGO_ENABLED=0 GOOS=linux go build -o /bot |
| CMD ["/bot"] |
Details
Versions (4)
View all
7926f218ca239621d93d9d3f06ee8ea8dcfc5227
2025-12-03
69c516daf59b640ec9ba9e5b06bdd547cad58d80
2025-12-03
2f40ad1c349fdac3158aa4f6a3c15f4a45045a3b
2025-11-30
3ec9991f129b90345ffe14b7cbc19ec34b038e43
2025-11-30