Commit 4b9738fa authored by Philip ABBET's avatar Philip ABBET

Don't use caching anymore, it produces bigger images

And installing the dependencies isn't the biggest problem here: downloading
the dependencies of beat.env.python27 takes way more time and bandwidth anyway
parent ee0a0016
Pipeline #8157 passed with stage
in 73 minutes and 36 seconds
......@@ -54,15 +54,16 @@ RUN set -ex \
wget \
' \
&& apt-get update \
&& apt-get install -y $build_deps
&& apt-get install -y $build_deps \
&& apt-get clean \
# building of the content of the tarball
RUN make -C $destdir download \
# building of the content of the tarball
&& make -C $destdir download \
&& make -C $destdir \
&& rm -rf $destdir/pkg $destdir/log
&& rm -rf $destdir/pkg $destdir/log \
# remove the packages no longer needed, and and some runtime-only ones
RUN set -ex \
# remove the packages no longer needed, and add some runtime-only ones
&& set -ex \
&& runtime_deps=' \
libatlas3-base \
libffi6 \
......@@ -72,6 +73,7 @@ RUN set -ex \
' \
&& apt-get purge -y --auto-remove $build_deps \
&& apt-get install -y $runtime_deps \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# change the PATH, so we can execute the scripts easily
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment