Install the needed packages in docker images with --no-install-recommends
This avoids installing a few unneeded ones, but requires manually picking ca-certificates instead.
This commit is contained in:
1 parent
4670446157
commit
315e1ab683
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
FROM ubuntu:16.04
|
FROM ubuntu:16.04
|
||||||
|
|
||||||
RUN apt-get update -qq && apt-get install -qqy \
|
RUN apt-get update -qq && apt-get install -qqy --no-install-recommends \
|
||||||
git wget bzip2 file unzip libtool pkg-config cmake build-essential \
|
git wget bzip2 file unzip libtool pkg-config cmake build-essential \
|
||||||
automake yasm gettext autopoint vim python git-svn ninja-build \
|
automake yasm gettext autopoint vim python git-svn ninja-build \
|
||||||
subversion && \
|
subversion ca-certificates && \
|
||||||
apt-get clean -y && \
|
apt-get clean -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
FROM ubuntu:16.04
|
FROM ubuntu:16.04
|
||||||
|
|
||||||
RUN apt-get update -qq && apt-get install -qqy \
|
RUN apt-get update -qq && apt-get install -qqy --no-install-recommends \
|
||||||
git wget bzip2 file unzip libtool pkg-config cmake build-essential \
|
git wget bzip2 file unzip libtool pkg-config cmake build-essential \
|
||||||
automake yasm gettext autopoint vim python git-svn ninja-build \
|
automake yasm gettext autopoint vim python git-svn ninja-build \
|
||||||
subversion && \
|
subversion ca-certificates && \
|
||||||
apt-get clean -y && \
|
apt-get clean -y && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user