Dockerfile: reduce the image size
At my debian11/amd64 machine, the size of newer image is 889MB, while the older one is 908MB. Refs: #81 Signed-off-by: Zhibin Dong <zhibin.dong@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
94e0e999f2
commit
be4501b872
@ -4,13 +4,11 @@ FROM debian:bullseye-slim
|
|||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
ENV LANG=en_US.utf8
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y locales && \
|
apt-get install -y locales && \
|
||||||
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
|
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 && \
|
||||||
ENV LANG=en_US.utf8
|
apt-get install --no-install-recommends -y \
|
||||||
|
|
||||||
RUN apt-get install --no-install-recommends -y \
|
|
||||||
gawk wget git-core diffstat unzip texinfo \
|
gawk wget git-core diffstat unzip texinfo \
|
||||||
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
|
build-essential chrpath socat cpio python python3 python3-pip python3-pexpect \
|
||||||
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
|
xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev \
|
||||||
|
Loading…
Reference in New Issue
Block a user