foodcritic/Dockerfile
Cabillot Julien f0d76ef34d first import
2018-05-05 04:27:57 +02:00

23 lines
683 B
Docker

FROM "ubuntu:18.04"
MAINTAINER "Julien Cabillot <dockerimages@cabillot.eu>"
RUN apt-get -qq update && \
apt-get -qq --yes install ruby ruby-dev libxml2-dev && \
gem install foodcritic && \
# TODO: voir si on peut faire cela
#apt-get -qq --yes remove --purge libxml2-dev ruby-dev && \
apt-get -qq --yes autoremove --purge && \
apt-get -qq --yes clean all && \
rm -rf "/usr/share/doc/*" \
"/var/cache/*" \
"/var/lib/apt/lists/*" \
"/usr/src/*" \
"/var/cache/*" \
"/var/log/"{apt/*,dpkg.log} \
"/var/www/html" \
"/tmp/*"
WORKDIR /data
ENTRYPOINT [ "/usr/local/bin/foodcritic" ]