|
|
@ -1,7 +1,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
################################### |
|
|
|
################################### |
|
|
|
#Build stage |
|
|
|
#Build stage |
|
|
|
FROM golang:1.16-alpine3.14 AS build-env |
|
|
|
FROM golang:1.16-alpine3.13 AS build-env |
|
|
|
|
|
|
|
|
|
|
|
ARG GOPROXY |
|
|
|
ARG GOPROXY |
|
|
|
ENV GOPROXY ${GOPROXY:-direct} |
|
|
|
ENV GOPROXY ${GOPROXY:-direct} |
|
|
@ -25,7 +25,7 @@ RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \ |
|
|
|
# Begin env-to-ini build |
|
|
|
# Begin env-to-ini build |
|
|
|
RUN go build contrib/environment-to-ini/environment-to-ini.go |
|
|
|
RUN go build contrib/environment-to-ini/environment-to-ini.go |
|
|
|
|
|
|
|
|
|
|
|
FROM alpine:3.14 |
|
|
|
FROM alpine:3.13 |
|
|
|
LABEL maintainer="maintainers@gitea.io" |
|
|
|
LABEL maintainer="maintainers@gitea.io" |
|
|
|
|
|
|
|
|
|
|
|
EXPOSE 22 3000 |
|
|
|
EXPOSE 22 3000 |
|
|
|