articles_api (latest)
Published 2025-10-18 01:02:41 +00:00 by frederick.holland
Installation
docker pull git.bhouse.cdsau.net/bathhouse/articles_api:latestsha256:0709f26fc7f1c49499322cd048dc5876edc3936b92e8c3e0a18ded23b3f24fb8Image Layers
| # debian.sh --arch 'amd64' out/ 'bookworm' '@1751241600' |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends g++ gcc libc6-dev make pkg-config ; rm -rf /var/lib/apt/lists/* # buildkit |
| ENV GOLANG_VERSION=1.24.4 |
| 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 CGO_ENABLED=0 GOOS=linux go build -o /articles_api # buildkit |
| CMD ["/articles_api"] |
Details
2025-10-18 01:02:41 +00:00
Versions (8)
View all
Container
0
OCI / Docker
linux/amd64
372 MiB
latest
2025-10-18
129c8e4122b99c752c1cac8906e72e338bb33663
2025-10-18
6868b53fac677cb21b8bdf45e24c15a1debb59d6
2025-10-17
cf593fd663224235f0ce24d84fa2190ecc7e0908
2025-10-17
f54103b05b3e143635ed2cd31313cd3c3fc89516
2025-10-17