Smaller xenial docker image
This commit is contained in:
parent
c2cbbccebb
commit
8288da5d20
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue