api-jeronimodesign-com (test)

Published 2025-04-25 12:03:56 +00:00 by jeroen

Installation

docker pull code.jeronimodesign.com/jeroen/api-jeronimodesign-com:test
sha256:89699ea9b865a3027d21f7f653f41be98d0421c8e62ee96c163897a066cbc10f

Image layers

ADD alpine-minirootfs-3.21.3-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit
ENV GOLANG_VERSION=1.24.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
/bin/sh -c apk --update --no-cache add curl git openssh-client
ARG GOPRIVATE=code.jeronimodesign.com
ARG REPOSITORY_ORIGINAL_URL=https://code.jeronimodesign.com/
ARG REPOSITORY_INSTEADOF_ADDRESS=code.jeronimodesign.net
ARG REPOSITORY_INSTEADOF_PORT=20665
ARG REPOSITORY_INSTEADOF_PROTOCOL=ssh
ARG REPOSITORY_INSTEADOF_USER=git
|6 GOPRIVATE=code.jeronimodesign.com REPOSITORY_INSTEADOF_ADDRESS=code.jeronimodesign.net REPOSITORY_INSTEADOF_PORT=20665 REPOSITORY_INSTEADOF_PROTOCOL=ssh REPOSITORY_INSTEADOF_USER=git REPOSITORY_ORIGINAL_URL=https://code.jeronimodesign.com/ /bin/sh -c mkdir ~/.ssh
|6 GOPRIVATE=code.jeronimodesign.com REPOSITORY_INSTEADOF_ADDRESS=code.jeronimodesign.net REPOSITORY_INSTEADOF_PORT=20665 REPOSITORY_INSTEADOF_PROTOCOL=ssh REPOSITORY_INSTEADOF_USER=git REPOSITORY_ORIGINAL_URL=https://code.jeronimodesign.com/ /bin/sh -c ssh-keyscan -t rsa -p ${REPOSITORY_INSTEADOF_PORT} ${REPOSITORY_INSTEADOF_ADDRESS} >> ~/.ssh/known_hosts
|6 GOPRIVATE=code.jeronimodesign.com REPOSITORY_INSTEADOF_ADDRESS=code.jeronimodesign.net REPOSITORY_INSTEADOF_PORT=20665 REPOSITORY_INSTEADOF_PROTOCOL=ssh REPOSITORY_INSTEADOF_USER=git REPOSITORY_ORIGINAL_URL=https://code.jeronimodesign.com/ /bin/sh -c git config --global url."${REPOSITORY_INSTEADOF_PROTOCOL}://${REPOSITORY_INSTEADOF_USER}@${REPOSITORY_INSTEADOF_ADDRESS}:${REPOSITORY_INSTEADOF_PORT}/".insteadOf "${REPOSITORY_ORIGINAL_URL}"
WORKDIR /src
COPY dir:5fd8d618997a20b92673f537a847539cda9e348e246e654c4aec8c8a73f9f09d in ./
|6 GOPRIVATE=code.jeronimodesign.com REPOSITORY_INSTEADOF_ADDRESS=code.jeronimodesign.net REPOSITORY_INSTEADOF_PORT=20665 REPOSITORY_INSTEADOF_PROTOCOL=ssh REPOSITORY_INSTEADOF_USER=git REPOSITORY_ORIGINAL_URL=https://code.jeronimodesign.com/ /bin/sh -c mv private_key ~/.ssh/id_ed25519
|6 GOPRIVATE=code.jeronimodesign.com REPOSITORY_INSTEADOF_ADDRESS=code.jeronimodesign.net REPOSITORY_INSTEADOF_PORT=20665 REPOSITORY_INSTEADOF_PROTOCOL=ssh REPOSITORY_INSTEADOF_USER=git REPOSITORY_ORIGINAL_URL=https://code.jeronimodesign.com/ /bin/sh -c chmod 600 ~/.ssh/id_ed25519
|6 GOPRIVATE=code.jeronimodesign.com REPOSITORY_INSTEADOF_ADDRESS=code.jeronimodesign.net REPOSITORY_INSTEADOF_PORT=20665 REPOSITORY_INSTEADOF_PROTOCOL=ssh REPOSITORY_INSTEADOF_USER=git REPOSITORY_ORIGINAL_URL=https://code.jeronimodesign.com/ /bin/sh -c go mod download
|6 GOPRIVATE=code.jeronimodesign.com REPOSITORY_INSTEADOF_ADDRESS=code.jeronimodesign.net REPOSITORY_INSTEADOF_PORT=20665 REPOSITORY_INSTEADOF_PROTOCOL=ssh REPOSITORY_INSTEADOF_USER=git REPOSITORY_ORIGINAL_URL=https://code.jeronimodesign.com/ /bin/sh -c go build -o /api
COPY file:3924d43be61c6002c1f60559f371da4e8589466701c34835015f218fee090f46 in /test-report.xml
COPY file:8cb3347b0e7f3ad70972c2177e538c6d8ee92301d92098f66f4444dae72f9362 in /linter-report.log
COPY file:90c99531e2a7288cf0b2e7368f96fe79a8cf5acefd8e7324ca57bceae91c84b4 in /version
ARG HTTP_SERVER_PORT=8080
EXPOSE 8080
CMD ["/api"]
Details
Container
2025-04-25 12:03:56 +00:00
0
OCI / Docker
linux/amd64
389 MiB
Versions (1) View all
test 2025-04-25