Small HTTP server that redirects to artifacts from the latest github release for a project
Vous ne pouvez pas sélectionner plus de 25 sujets
Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
123456789101112 |
- FROM golang:1.12 AS build
-
- WORKDIR /go/src/app
-
- COPY . .
- RUN CGO_ENABLED=0 GO111MODULE=on go install .
-
- FROM scratch
- COPY --from=build /go/bin/github-release-redirector /github-release-redirector
- COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
-
- ENTRYPOINT ["/github-release-redirector"]
|