diff --git a/azure-cron.yml b/azure-cron.yml index e4a401b855..ee39a6bb6a 100644 --- a/azure-cron.yml +++ b/azure-cron.yml @@ -83,8 +83,6 @@ jobs: echo "Building version ${version#v}..." git checkout "$version" 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} . git checkout Dockerfile # Despite the name not suggesting it at all, this actually signs diff --git a/ci/docker/daml-sdk/Dockerfile b/ci/docker/daml-sdk/Dockerfile index 7edf139163..5c639986be 100644 --- a/ci/docker/daml-sdk/Dockerfile +++ b/ci/docker/daml-sdk/Dockerfile @@ -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 # This is needed to get the DNS requests # from Haskell binaries to succeed.