This commit is contained in:
Cabillot Julien 2018-05-14 11:45:22 -04:00
parent 9f248c50f0
commit bd53686275

View File

@ -1,21 +1,20 @@
FROM "ubuntu:18.04" FROM "ubuntu:18.04"
MAINTAINER "Julien Cabillot <dockerimages@cabillot.eu>" MAINTAINER "Julien Cabillot <dockerimages@cabillot.eu>"
RUN apt-get -qq update && \ RUN apt-get -qq update && \
apt-get -qq --yes install ruby ruby-dev libxml2-dev && \ apt-get -qq --yes install ruby ruby-dev libxml2-dev && \
gem install foodcritic && \ gem install foodcritic && \
apt-get -qq --yes remove --purge libxml2-dev ruby-dev unzip zip fonts-lato javascript-common libjs-jquery && \ apt-get -qq --yes remove --purge libxml2-dev ruby-dev unzip zip fonts-lato javascript-common libjs-jquery && \
apt-get -qq --yes autoremove --purge && \ apt-get -qq --yes autoremove --purge && \
apt-get -qq --yes clean all && \ apt-get -qq --yes clean all && \
rm -rf "/usr/share/doc/*" \ rm -rf "/usr/share/doc/"* \
"/var/cache/*" \ "/var/cache/"* \
"/var/lib/apt/lists/*" \ "/var/lib/apt/lists/"* \
"/usr/src/*" \ "/usr/src/"* \
"/var/cache/*" \ "/var/cache/"* \
"/var/log/"{apt/*,dpkg.log} \ "/var/log/"{apt/*,dpkg.log} \
"/var/www/html" \ "/var/www/html" \
"/tmp/*" "/tmp/"*
WORKDIR /data WORKDIR /data