Smaller xenial docker image

This commit is contained in:
Matthieu Gautier 2019-09-04 11:06:37 +02:00
parent c2cbbccebb
commit 8288da5d20
1 changed files with 2 additions and 3 deletions

View File

@ -2,8 +2,7 @@ FROM ubuntu:xenial
ENV LANG C.UTF-8 ENV LANG C.UTF-8
RUN apt update -q RUN apt update -q && \
RUN \
dpkg --add-architecture i386 && \ dpkg --add-architecture i386 && \
apt install -q -y --no-install-recommends \ apt install -q -y --no-install-recommends \
# Base build tools # Base build tools
@ -23,7 +22,7 @@ RUN \
# vim less grep \ # vim less grep \
&& \ && \
apt-get clean -y && \ apt-get clean -y && \
rm -rf /usr/share/doc/* /var/cache/debconf/* rm -rf /var/lib/apt/list/* /usr/share/doc/* /var/cache/debconf/*
# Create user # Create user
RUN useradd --create-home ci_builder RUN useradd --create-home ci_builder