articles_api (dfc670fefc324c7e5e9d47c0086f19d0b299fce5)
Published 2025-10-17 10:25:39 +00:00 by frederick.holland
Installation
docker pull git.bhouse.cdsau.net/bathhouse/articles_api:dfc670fefc324c7e5e9d47c0086f19d0b299fce5sha256:19a1a65854a2a70b1f418505c141d40becd0bfe42e3f1ca12cd2077fd71a9e8eImage 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-17 10:25:39 +00:00
Versions (8)
View all
Container
2
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