From 787703da5dba08993451020bb6569bc9baf67e47 Mon Sep 17 00:00:00 2001 From: Johnny Chavez <64660690+calderjo@users.noreply.github.com> Date: Fri, 29 Mar 2024 14:19:38 -0700 Subject: [PATCH 1/2] Update Dockerfile.tmpl --- Dockerfile.tmpl | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.tmpl b/Dockerfile.tmpl index a7831a81..62822d80 100644 --- a/Dockerfile.tmpl +++ b/Dockerfile.tmpl @@ -89,6 +89,7 @@ RUN sed -i "s/httpredir.debian.org/debian.uchicago.edu/" /etc/apt/sources.list & apt-get install -y build-essential unzip cmake libboost-dev libboost-system-dev libboost-filesystem-dev p7zip-full && \ # b/182601974: ssh client was removed from the base image but is required for packages such as stable-baselines. apt-get install -y openssh-client && \ + apt-get clean && \ /tmp/clean-layer.sh # b/128333086: Set PROJ_LIB to points to the proj4 cartographic library. From be5ade83e84e0b8822b7189bcc64b722405202d4 Mon Sep 17 00:00:00 2001 From: Johnny Chavez <64660690+calderjo@users.noreply.github.com> Date: Fri, 29 Mar 2024 16:00:34 -0700 Subject: [PATCH 2/2] Update Dockerfile.tmpl --- Dockerfile.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.tmpl b/Dockerfile.tmpl index 62822d80..449dfd2c 100644 --- a/Dockerfile.tmpl +++ b/Dockerfile.tmpl @@ -83,13 +83,13 @@ RUN curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key -- # Use a fixed apt-get repo to stop intermittent failures due to flaky httpredir connections, # as described by Lionel Chan at http://stackoverflow.com/a/37426929/5881346 RUN sed -i "s/httpredir.debian.org/debian.uchicago.edu/" /etc/apt/sources.list && \ + apt-get clean && \ apt-get update --allow-releaseinfo-change && \ # Needed by lightGBM (GPU build) # https://lightgbm.readthedocs.io/en/latest/GPU-Tutorial.html#build-lightgbm apt-get install -y build-essential unzip cmake libboost-dev libboost-system-dev libboost-filesystem-dev p7zip-full && \ # b/182601974: ssh client was removed from the base image but is required for packages such as stable-baselines. apt-get install -y openssh-client && \ - apt-get clean && \ /tmp/clean-layer.sh # b/128333086: Set PROJ_LIB to points to the proj4 cartographic library.