From 534c5d5f2f84c814770d09d5e40ec69e9a943fe2 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Wed, 29 Jul 2020 12:09:52 -0600 Subject: [PATCH] Attempt to fix dpkg-configure error in build --- Dockerfile.dev | 2 +- Dockerfile.prod | 2 +- scripts/docker-install-phase0.bash | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile.dev b/Dockerfile.dev index 5b9583b..cb94943 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -1,4 +1,4 @@ -FROM ubuntu:focal +FROM ubuntu:rolling ARG UID diff --git a/Dockerfile.prod b/Dockerfile.prod index e8dd95d..0a58e92 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -1,4 +1,4 @@ -FROM ubuntu:focal +FROM ubuntu:rolling # This is just here so we can reuse the Docker cache between dev and # prod, it's not actually read by anything. diff --git a/scripts/docker-install-phase0.bash b/scripts/docker-install-phase0.bash index 7382789..5ea67b0 100755 --- a/scripts/docker-install-phase0.bash +++ b/scripts/docker-install-phase0.bash @@ -6,6 +6,7 @@ set -x export DEBIAN_FRONTEND=noninteractive apt-get update +apt-get dist-upgrade -y (yes || true) | unminimize rm -rf /var/lib/apt/lists/*