Use LTS version of Ubuntu in Dockerfiles (#55327)

We have some Dockerfiles that reference Ubuntu 19.04, which is not an LTS
version and has now appears to have been retired from the Ubuntu repositories.
Switch to 18.04, which is the current long-term support version. Also change a
usage of 16.04 to 18.04, for consistency.
This commit is contained in:
Rory Hunter 2020-04-16 19:46:21 +01:00 committed by Rory Hunter
parent cf5278f771
commit dd76fbac60
4 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM ubuntu:19.04
FROM ubuntu:18.04
RUN apt-get update -qqy
RUN apt-get install -qqy openjdk-12-jre-headless
ENTRYPOINT exec java -classpath "/fixture/shared/*" fixture.azure.AzureHttpFixture 0.0.0.0 8091 container

View File

@ -1,4 +1,4 @@
FROM ubuntu:19.04
FROM ubuntu:18.04
RUN apt-get update -qqy
RUN apt-get install -qqy openjdk-12-jre-headless
@ -14,4 +14,4 @@ ENV GCS_FIXTURE_TOKEN=${token}
ENTRYPOINT exec java -classpath "/fixture/shared/*" \
fixture.gcs.GoogleCloudStorageHttpFixture 0.0.0.0 "$GCS_FIXTURE_PORT" "$GCS_FIXTURE_BUCKET" "$GCS_FIXTURE_TOKEN"
EXPOSE $port
EXPOSE $port

View File

@ -1,4 +1,4 @@
FROM ubuntu:19.04
FROM ubuntu:18.04
RUN apt-get update -qqy
RUN apt-get install -qqy openjdk-12-jre-headless

View File

@ -1,4 +1,4 @@
FROM ubuntu:16.04
FROM ubuntu:18.04
RUN apt-get update -qqy && apt-get install -qqy samba ldap-utils
ADD . /fixture
RUN chmod +x /fixture/src/main/resources/provision/installsmb.sh