Smaller Docker base image

This commit is contained in:
Kelson 2019-09-04 10:00:15 +02:00
parent 460f350c21
commit c2cbbccebb
1 changed files with 3 additions and 4 deletions

View File

@ -2,9 +2,8 @@ FROM ubuntu:bionic
ENV LANG C.UTF-8 ENV LANG C.UTF-8
RUN apt update -q RUN apt update -q && \
RUN \ apt install -q -y --no-install-recommends \
apt install -q -y --no-install-recommends \
# Base build tools # Base build tools
build-essential automake libtool cmake ccache pkg-config autopoint patch \ build-essential automake libtool cmake ccache pkg-config autopoint patch \
python3-pip python3-setuptools python3-wheel git subversion wget unzip \ python3-pip python3-setuptools python3-wheel git subversion wget unzip \
@ -22,7 +21,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/lists/* /usr/share/doc/* /var/cache/debconf/*
# Create user # Create user
RUN useradd --create-home ci_builder RUN useradd --create-home ci_builder