Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit fa6ddde

Browse files
authored
Fix for Dockerfile smell DL3015 (#347)
Signed-off-by: Giovanni Rosa <g.rosa1@studenti.unimol.it>
1 parent ce484fb commit fa6ddde

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rootfs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN \
2828
sed -i -e 's/^deb-src/#deb-src/' /etc/apt/sources.list && \
2929
export DEBIAN_FRONTEND=noninteractive && \
3030
apt-get update && \
31-
apt-get install -y software-properties-common && \
31+
apt-get install --no-install-recommends -y software-properties-common && \
3232
add-apt-repository ppa:rmescandon/yq && \
3333
apt-get update && \
3434
apt-get upgrade -y --no-install-recommends && \
@@ -77,7 +77,7 @@ RUN \
7777
&& mv /usr/local/bin/azcopy /usr/local/bin/azcopy-preview \
7878
&& curl -sSL https://aka.ms/downloadazcopylinux64 | tar -vxz -C /tmp \
7979
&& /tmp/install.sh \
80-
&& apt-get update && apt-get -f -y install \
80+
&& apt-get update && apt-get -f -y install --no-install-recommends \
8181
&& curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz \
8282
&& tar xzvf docker-${DOCKER_VERSION}.tgz -C /usr/local/bin \
8383
&& chmod +x -R /usr/local/bin/docker \

0 commit comments

Comments
 (0)