mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-13 05:26:56 +00:00
fix(dockerfile): clean up after apt install
This commit is contained in:
parent
aa3eeeb842
commit
db55ceee6c
|
@ -32,7 +32,9 @@ RUN a2enmod rewrite
|
|||
{% if dockerfile.stages.build.packages %}
|
||||
RUN apt-get update -yqq \
|
||||
&& apt-get install -yqq --no-install-recommends \
|
||||
{{ dockerfile.stages.build.packages | join(' ') }}
|
||||
{{ dockerfile.stages.build.packages | join(' ') }} \
|
||||
&& rm -rf /var/lib/apt/lists/* /usr/share/doc /usr/share/man \
|
||||
&& apt-get clean
|
||||
{% endif %}
|
||||
|
||||
RUN docker-php-ext-configure gd --with-jpeg
|
||||
|
|
Loading…
Reference in a new issue