Merge PR #5227: MAINT(dockerfile): Pin base images to Ubuntu Focal (LTS)

As discussed in comments on #5225. Mainly to avoid the build potentially breaking when a new version becomes :latest image tag.
This commit is contained in:
Robert Adam 2021-08-09 18:01:11 +02:00 committed by GitHub
commit a33fcec775
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
FROM ubuntu:latest
FROM ubuntu:focal
# needed to install tzdata
ARG DEBIAN_FRONTEND=noninteractive
@ -43,7 +43,7 @@ RUN cmake -Dclient=OFF -DCMAKE_BUILD_TYPE=Release -Dgrpc=ON .. || \
RUN make -j $(nproc)
# Clean distribution stage
FROM ubuntu:latest
FROM ubuntu:focal
ARG DEBIAN_FRONTEND=noninteractive