first import
This commit is contained in:
commit
f0d76ef34d
22
Dockerfile
Normal file
22
Dockerfile
Normal 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" ]
|
||||
Loading…
x
Reference in New Issue
Block a user