backend-identity (a07af65)
Published 2026-05-02 11:48:52 +00:00 by wesley
Installation
docker pull git.edge.capetown/school/backend-identity:a07af65sha256:dea36a590b80179848a074c3a971fd729844814ea1ac2b0d08a59934a2cce8d3Image layers
| ADD alpine-minirootfs-3.19.9-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| RUN apk add --no-cache ca-certificates tzdata && addgroup -S -g 1000 app && adduser -S -u 1000 -G app app |
| COPY --from=build /go/bin/goose /usr/local/bin/goose |
| COPY --from=build /out/app /app |
| COPY services/${SERVICE}/ /tmp/svc/ |
| RUN mkdir -p /migrations && if [ -d /tmp/svc/migrations ]; then cp -a /tmp/svc/migrations/. /migrations/ 2>/dev/null || true; fi && rm -rf /tmp/svc |