first import

This commit is contained in:
Cabillot Julien 2018-05-05 01:30:06 +02:00
commit f0d76ef34d
2 changed files with 23 additions and 0 deletions

22
Dockerfile Normal file
View File

@ -0,0 +1,22 @@
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" ]

1
README.md Normal file
View File

@ -0,0 +1 @@
I don't use ruby:alpine because foodcritic needs libiconv-dev, only available on edge/testing.