Don't add packages list if there are no packages

pull/49/head
yuvipanda 2017-07-30 05:12:35 -07:00
rodzic fe6975dda6
commit c6a79f1c10
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -54,6 +54,7 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
{% if packages -%}
RUN apt-get update && \
apt-get install --yes \
{% for package in packages -%}
@ -62,6 +63,7 @@ RUN apt-get update && \
&& apt-get purge && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
{% endif -%}
EXPOSE 8888