Skip to content

Commit c5c8a6b

Browse files
committed
more apt stfu
1 parent e57bcb6 commit c5c8a6b

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

tests/Dockerfile

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
FROM ubuntu:24.04 AS unit
33
LABEL org.opencontainers.image.source=https://github.com/elastisys/compliantkubernetes-apps
44

5-
ARG DEBIAN_FRONTEND="noninteractive"
5+
ENV DEBIAN_FRONTEND="noninteractive"
66
ENV LANGUAGE="en"
77
ENV LANG="en_US.utf8"
8-
ARG TZ="Etc/UTC"
98

10-
RUN apt-get update -q=2 && \
11-
apt-get install -q=2 apache2-utils curl dnsutils gettext-base git gpg iputils-ping jq locales make net-tools parallel pwgen python3-venv s3cmd ssh unzip && \
12-
apt-get clean && \
9+
RUN apt-get -q=2 update && \
10+
apt-get -q=2 install apache2-utils curl dnsutils gettext-base git gpg iputils-ping jq locales make net-tools parallel pwgen python3-venv s3cmd ssh unzip >/dev/null && \
11+
apt-get -q=2 clean && \
1312
rm -rf /var/lib/apt/lists/* && \
1413
localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
1514

@@ -56,11 +55,11 @@ Architectures: $(dpkg --print-architecture) \n\
5655
Signed-by: /etc/apt/keyrings/microsoft.gpg" | tee /etc/apt/sources.list.d/azure-cli.sources
5756

5857
ARG AZ_VERSION=2.63.0
59-
RUN apt-get update -q=2 && \
60-
apt-get install -q=2 azure-cli=${AZ_VERSION}-1~${DIST} buildah docker.io libasound2t64 libatk1.0-0 libatk-bridge2.0-0 libcanberra-gtk-module \
58+
RUN apt-get -q=2 update && \
59+
apt-get -q=2 install azure-cli=${AZ_VERSION}-1~${DIST} buildah docker.io libasound2t64 libatk1.0-0 libatk-bridge2.0-0 libcanberra-gtk-module \
6160
libcanberra-gtk3-module libcups2 libgbm-dev libgbm1 libglib2.0-0 libgtk2.0-0 libgtk2.0-0t64 libgtk-3-0 \
62-
libgtk-3-0t64 libnotify-dev libnss3 libxss1 libxtst6 podman-remote skopeo socat xauth xvfb zstd && \
63-
apt-get clean && \
61+
libgtk-3-0t64 libnotify-dev libnss3 libxss1 libxtst6 podman-remote skopeo socat xauth xvfb zstd >/dev/null && \
62+
apt-get -q=2 clean && \
6463
rm -rf /var/lib/apt/lists/* && \
6564
ln -s /usr/bin/podman-remote /usr/bin/podman
6665

0 commit comments

Comments
 (0)