[dockerbase]: make sure /var/cache/apt/archives directory exists (#684)

This commit is contained in:
lguohan 2017-06-08 00:26:42 -07:00 committed by GitHub
parent ea4dfa48c9
commit a7de6ebe24

View File

@ -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 \