build: update ubuntu version in docker image

This commit is contained in:
Jovan Krunić
2021-02-04 16:13:26 +01:00
parent 6ca0b97637
commit 68303e1f09

View File

@@ -1,5 +1,5 @@
### Set base image
FROM ubuntu:18.04
FROM ubuntu:20.04
LABEL version="2.0.0" \
description="Build environment for the StApps app." \
@@ -79,7 +79,7 @@ RUN apt-get update -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
### Workaround to fix cacerts problem (Ubuntu 18.04):
### Workaround to fix cacerts problem (Ubuntu):
### https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty)
RUN rm /etc/ssl/certs/java/cacerts && \
update-ca-certificates -f