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

Commit

Permalink
Fix for Dockerfile smell DL3015 (#347)
Browse files Browse the repository at this point in the history
Signed-off-by: Giovanni Rosa <[email protected]>
  • Loading branch information
grosa1 authored Aug 15, 2023
1 parent ce484fb commit fa6ddde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN \
sed -i -e 's/^deb-src/#deb-src/' /etc/apt/sources.list && \
export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y software-properties-common && \
apt-get install --no-install-recommends -y software-properties-common && \
add-apt-repository ppa:rmescandon/yq && \
apt-get update && \
apt-get upgrade -y --no-install-recommends && \
Expand Down Expand Up @@ -77,7 +77,7 @@ RUN \
&& mv /usr/local/bin/azcopy /usr/local/bin/azcopy-preview \
&& curl -sSL https://aka.ms/downloadazcopylinux64 | tar -vxz -C /tmp \
&& /tmp/install.sh \
&& apt-get update && apt-get -f -y install \
&& apt-get update && apt-get -f -y install --no-install-recommends \
&& curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz \
&& tar xzvf docker-${DOCKER_VERSION}.tgz -C /usr/local/bin \
&& chmod +x -R /usr/local/bin/docker \
Expand Down

0 comments on commit fa6ddde

Please sign in to comment.