alpine 3.11 (#9440)

tokarchuk/v1.17
techknowlogick 5 years ago committed by GitHub
parent 5748755e8e
commit d86e587186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .drone.yml
  2. 4
      Dockerfile

@ -326,7 +326,7 @@ steps:
- name: update - name: update
pull: default pull: default
image: alpine:3.10 image: alpine:3.11
commands: commands:
- mv ./options/locale/locale_en-US.ini ./options/ - mv ./options/locale/locale_en-US.ini ./options/
- "sed -i -e 's/=\"/=/g' -e 's/\"$$//g' ./options/locale/*.ini" - "sed -i -e 's/=\"/=/g' -e 's/\"$$//g' ./options/locale/*.ini"

@ -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

Loading…
Cancel
Save