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 \ ...@@ -54,15 +54,16 @@ RUN set -ex \
wget \ wget \
' \ ' \
&& apt-get update \ && 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 # building of the content of the tarball
RUN make -C $destdir download \ && make -C $destdir download \
&& make -C $destdir \ && 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 # remove the packages no longer needed, and add some runtime-only ones
RUN set -ex \ && set -ex \
&& runtime_deps=' \ && runtime_deps=' \
libatlas3-base \ libatlas3-base \
libffi6 \ libffi6 \
...@@ -72,6 +73,7 @@ RUN set -ex \ ...@@ -72,6 +73,7 @@ RUN set -ex \
' \ ' \
&& apt-get purge -y --auto-remove $build_deps \ && apt-get purge -y --auto-remove $build_deps \
&& apt-get install -y $runtime_deps \ && apt-get install -y $runtime_deps \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# change the PATH, so we can execute the scripts easily # 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