|
|
@ -1,7 +1,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
################################### |
|
|
|
################################### |
|
|
|
#Build stage |
|
|
|
#Build stage |
|
|
|
FROM golang:1.13-alpine3.10 AS build-env |
|
|
|
FROM golang:1.13-alpine3.11 AS build-env |
|
|
|
|
|
|
|
|
|
|
|
ARG GOPROXY |
|
|
|
ARG GOPROXY |
|
|
|
ENV GOPROXY ${GOPROXY:-direct} |
|
|
|
ENV GOPROXY ${GOPROXY:-direct} |
|
|
@ -21,7 +21,7 @@ WORKDIR ${GOPATH}/src/code.gitea.io/gitea |
|
|
|
RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \ |
|
|
|
RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \ |
|
|
|
&& make clean build |
|
|
|
&& make clean build |
|
|
|
|
|
|
|
|
|
|
|
FROM alpine:3.10 |
|
|
|
FROM alpine:3.11 |
|
|
|
LABEL maintainer="maintainers@gitea.io" |
|
|
|
LABEL maintainer="maintainers@gitea.io" |
|
|
|
|
|
|
|
|
|
|
|
EXPOSE 22 3000 |
|
|
|
EXPOSE 22 3000 |
|
|
|