From a7de6ebe2433d6ab1239a0654be6f6c3d77e8e5b Mon Sep 17 00:00:00 2001 From: lguohan Date: Thu, 8 Jun 2017 00:26:42 -0700 Subject: [PATCH] [dockerbase]: make sure /var/cache/apt/archives directory exists (#684) --- dockers/docker-base/Dockerfile.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockers/docker-base/Dockerfile.j2 b/dockers/docker-base/Dockerfile.j2 index d02d3c5450..3b372c6167 100644 --- a/dockers/docker-base/Dockerfile.j2 +++ b/dockers/docker-base/Dockerfile.j2 @@ -19,7 +19,7 @@ ENV DEBIAN_FRONTEND=noninteractive ## Configure data sources for apt/dpkg COPY ["sources.list", "/etc/apt/sources.list"] COPY ["dpkg_01_drop", "/etc/dpkg/dpkg.cfg.d/01_drop"] -RUN apt-get clean && apt-get update +RUN mkdir -p /var/cache/apt/archives && apt-get clean && apt-get update ## Pre-install fundamental packages RUN apt-get -y install \