Skip to content

Commit

Permalink
Update dockerfile to use Ubuntu 20.04 as base image (prebid#2359)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsardo authored Aug 29, 2022
1 parent 5102eb9 commit 5c722b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04 AS build
FROM ubuntu:20.04 AS build
RUN apt-get update && \
apt-get -y upgrade && \
apt-get install -y wget
Expand All @@ -22,7 +22,7 @@ ARG TEST="true"
RUN if [ "$TEST" != "false" ]; then ./validate.sh ; fi
RUN go build -mod=vendor -ldflags "-X github.com/prebid/prebid-server/version.Ver=`git describe --tags | sed 's/^v//'` -X github.com/prebid/prebid-server/version.Rev=`git rev-parse HEAD`" .

FROM ubuntu:18.04 AS release
FROM ubuntu:20.04 AS release
LABEL maintainer="[email protected]"
WORKDIR /usr/local/bin/
COPY --from=build /app/prebid-server .
Expand Down

0 comments on commit 5c722b5

Please sign in to comment.