optimize size

This commit is contained in:
CatDeployed 2018-05-27 17:49:04 -04:00
parent 41f7f63337
commit b48aaff209

View File

@ -1,7 +1,7 @@
FROM ruby:2.4 FROM ruby:2.4
RUN apt-get -y update \ RUN apt-get -y update \
&& apt-get -y install nodejs mysql-client git-core python-minimal python-pip python-dev libcap2-bin \ && apt-get -y install --no-install-recommends nodejs mysql-client git-core python-minimal python-pip python-dev libcap2-bin \
&& pip install j2cli \ && pip install j2cli \
&& git clone https://github.com/atech/postal.git /opt/postal \ && git clone https://github.com/atech/postal.git /opt/postal \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \