docker: bump base image (#14437)

CHANGELOG_BEGIN

- The base image used by the `digitalasset/daml-sdk` Docker image has
  been bumped from Ubuntu Focal to Ubuntu Kinetic. Please remember that
  this image is meant for demonstration purposes only and is not supported
  for use in any kind of production setup.

CHANGELOG_END
This commit is contained in:
Gary Verhaegen 2022-07-15 22:06:55 +02:00 committed by GitHub
parent 9574fc1cd6
commit c9070471cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -83,8 +83,6 @@ jobs:
echo "Building version ${version#v}..." echo "Building version ${version#v}..."
git checkout "$version" git checkout "$version"
cd ci/docker/daml-sdk cd ci/docker/daml-sdk
# The internet changed from under us: 11 now means 11-jammy, and curl breaks
sed -i '1s/^FROM eclipse-temurin:11$/FROM eclipse-temurin:11-focal/' Dockerfile
docker build -t digitalasset/daml-sdk:${version#v} --build-arg VERSION=${version#v} . docker build -t digitalasset/daml-sdk:${version#v} --build-arg VERSION=${version#v} .
git checkout Dockerfile git checkout Dockerfile
# Despite the name not suggesting it at all, this actually signs # Despite the name not suggesting it at all, this actually signs

View File

@ -1,4 +1,7 @@
FROM eclipse-temurin:11-focal FROM ubuntu:kinetic
RUN apt-get update \
&& apt-get install -y curl openjdk-11-jre-headless \
&& rm -rf /var/lib/apt/lists/*
ARG VERSION ARG VERSION
# This is needed to get the DNS requests # This is needed to get the DNS requests
# from Haskell binaries to succeed. # from Haskell binaries to succeed.