Browse Source

Alpine 3.10 (#7256)

release/v1.9
techknowlogick 3 years ago
committed by GitHub
parent
commit
8db4541ecf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .drone.yml
  2. 4
      Dockerfile

10
.drone.yml

@ -24,7 +24,7 @@ pipeline:
branch: [ master ]
update-translations:
image: alpine:3.7
image: alpine:3.10
commands:
- mv ./options/locale/locale_en-US.ini ./options/
- sed -i -e 's/="/=/g' -e 's/"$$//g' ./options/locale/*.ini
@ -163,7 +163,7 @@ pipeline:
event: [ tag ]
test-mysql8:
image: golang:1.11
image: golang:1.12
pull: true
group: test
environment:
@ -294,7 +294,7 @@ pipeline:
branch: [ master ]
docker-dryrun:
image: plugins/docker:17.12
image: plugins/docker:18.09
pull: true
repo: gitea/gitea
cache_from: gitea/gitea
@ -303,7 +303,7 @@ pipeline:
event: [ pull_request ]
release-docker:
image: plugins/docker:17.12
image: plugins/docker:18.09
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/gitea
@ -314,7 +314,7 @@ pipeline:
branch: [ release/* ]
docker:
image: plugins/docker:17.12
image: plugins/docker:18.09
secrets: [ docker_username, docker_password ]
pull: true
repo: gitea/gitea

4
Dockerfile

@ -1,7 +1,7 @@
###################################
#Build stage
FROM golang:1.12-alpine3.9 AS build-env
FROM golang:1.12-alpine3.10 AS build-env
ARG GITEA_VERSION
ARG TAGS="sqlite sqlite_unlock_notify"
@ -18,7 +18,7 @@ WORKDIR ${GOPATH}/src/code.gitea.io/gitea
RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
&& make clean generate build
FROM alpine:3.9
FROM alpine:3.10
LABEL maintainer="maintainers@gitea.io"
EXPOSE 22 3000

Loading…
Cancel
Save