Merge pull request #85 from sgotti/update_dockerfile

Dockerfile: update to debian buster
This commit is contained in:
Simone Gotti 2019-08-07 11:21:21 +02:00 committed by GitHub
commit 488007fcf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
####### #######
# base build image # base build image
FROM golang:1.11 AS build_base FROM golang:1.12-buster AS build_base
WORKDIR /agola WORKDIR /agola
@ -16,10 +16,10 @@ COPY go.sum .
RUN go mod download RUN go mod download
# This image builds the weavaite server # builds the agola binaries
FROM build_base AS server_builder FROM build_base AS server_builder
# copy all the source # copy all the sources
COPY . . COPY . .
# copy the agola-web dist # copy the agola-web dist
@ -31,7 +31,7 @@ RUN make WEBBUNDLE=1 WEBDISTPATH=/agola-web/dist
####### #######
####### Build the final image ####### Build the final image
####### #######
FROM debian:stable AS agola FROM debian:buster AS agola
WORKDIR / WORKDIR /