Make the www-gitlab-com image smaller

This commit is contained in:
Achilleas Pipinellis 2016-09-11 10:42:22 +02:00
parent 48e6679688
commit 17982033c2
2 changed files with 38 additions and 5 deletions

View file

@ -1,14 +1,12 @@
FROM ruby:2.3
FROM ruby:2.3-slim
ENV PACKAGES="git-core nodejs pandoc texlive-latex-recommended texlive-xetex texlive-fonts-recommended ed"
ENV PACKAGES="git-core pandoc texlive-latex-recommended texlive-xetex texlive-fonts-recommended ed"
ADD / /
RUN /scripts/install-essentials
RUN /scripts/install-www-gitlab-com
# Set UTF-8 http://jaredmarkell.com/docker-and-locales/
# Must be set after install-essentials is run
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN rm -rf /var/lib/apt/lists/*