* Upgrade alpine to 3.15 * Add executability test to entrypoint for too old dockers Signed-off-by: Andrew Thornton <art27@cantab.net> * Update docker/rootless/usr/local/bin/docker-entrypoint.sh
Showing the changes to Dockerfile (1 of 4 files). Show all
Unified · Split
| @@ -1,7 +1,5 @@ | ||
| 1 | − | |
| 2 | −################################### | |
| 3 | −#Build stage - temporarily using techknowlogick image until we upgrade to latest official alpine/go image | |
| 4 | −FROM techknowlogick/go:1.17-alpine3.13 AS build-env | |
| 1 | +#Build stage | |
| 2 | +FROM golang:1.17-alpine3.15 AS build-env | |
| 5 | 3 | |
| 6 | 4 | ARG GOPROXY |
| 7 | 5 | ENV GOPROXY ${GOPROXY:-direct} |
| @@ -25,7 +23,7 @@ RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \ · 17 unmodified lines | ||
| 25 | 23 | # Begin env-to-ini build |
| 26 | 24 | RUN go build contrib/environment-to-ini/environment-to-ini.go |
| 27 | 25 | |
| 28 | −FROM alpine:3.13 | |
| 26 | +FROM alpine:3.15 | |
| 29 | 27 | LABEL maintainer="maintainers@gitea.io" |
| 30 | 28 | |
| 31 | 29 | EXPOSE 22 3000 |