optimize size
This commit is contained in:
parent
6463948c17
commit
41f7f63337
|
@ -10,6 +10,8 @@ RUN apt-get -y update \
|
||||||
&& useradd -r -d /opt/postal -s /bin/bash postal \
|
&& useradd -r -d /opt/postal -s /bin/bash postal \
|
||||||
&& chown -R postal:postal /opt/postal/ \
|
&& chown -R postal:postal /opt/postal/ \
|
||||||
&& /opt/postal/bin/postal bundle /opt/postal/vendor/bundle \
|
&& /opt/postal/bin/postal bundle /opt/postal/vendor/bundle \
|
||||||
|
&& apt-get -y purge python-dev git-core \
|
||||||
|
&& apt-get -y autoremove \
|
||||||
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||||
|
|
||||||
## Adjust permissions
|
## Adjust permissions
|
||||||
|
|
Loading…
Reference in New Issue
Block a user