erikscowsay (latest)
Published 2 years ago by erik.sundqvist
Installation
docker pull git.systementor.se/erik.sundqvist/erikscowsay:latestsha256:7b70adbd1990b04d1e2d034e336de9b1df9932e9a7b32fcb1e72ac4a08075c4bImage Layers
| ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / |
| CMD ["/bin/sh"] |
| RUN /bin/sh -c apk add --no-cache ca-certificates # buildkit |
| ENV GOLANG_VERSION=1.23.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 |
| COPY . . # buildkit |
| RUN /bin/sh -c go build -o /app/cmd/cowsay # buildkit |
| ENTRYPOINT ["/app/cmd/cowsay"] |