Skip to content
Snippets Groups Projects
Commit 2fbea8d8 authored by jurgenhaas's avatar jurgenhaas
Browse files

Cleanup caches at the end of the build

parent 638ea26f
No related branches found
Tags v1.7.5
No related merge requests found
Pipeline #6111 passed
......@@ -2,7 +2,7 @@ FROM alpine:3.8
LABEL com.example.vendor="LakeDrops" \
maintainer="juergen.haas@lakedrops.com" \
version="1.5.1" \
version="1.5.2" \
description="An image for GitLab runner to build and test Drupal projects."
ARG ALPINE_VERSION
......@@ -94,7 +94,10 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
ln -s /usr/local/bin/ahoy /usr/local/bin/a && \
ln -s /usr/local/bin/composer /usr/local/bin/c && \
ln -s /usr/local/bin/docker-compose /usr/local/bin/d-c && \
ln -s /usr/local/bin/drush /usr/local/bin/d
ln -s /usr/local/bin/drush /usr/local/bin/d && \
\
rm -rf /var/cache/* && \
rm -rf /root/.composer/cache
ADD bin/* /usr/local/bin/
......@@ -102,4 +105,3 @@ ENV LAKEDROPS_DEV_DC_OPTIONS "-T"
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["sh"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment