Skip to content

Instantly share code, notes, and snippets.

@yingzhuo
Created September 26, 2019 03:11
Show Gist options
  • Save yingzhuo/b540be32e46e7044b78d1b8f1d0f653d to your computer and use it in GitHub Desktop.
Save yingzhuo/b540be32e46e7044b78d1b8f1d0f653d to your computer and use it in GitHub Desktop.
清除apt cache #docker #dockerfile
RUN apt-get update && apt-get install -y \
aufs-tools \
automake \
build-essential \
curl \
all\
your\
other\
packages && \
rm -rf /var/lib/apt/lists/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment