From 64d4081f1c82594b94ca12f743564ecdd240ff1c Mon Sep 17 00:00:00 2001 From: Giovanni Rosa Date: Fri, 14 Apr 2023 15:32:06 +0200 Subject: [PATCH] Fix for Dockerfile smell DL3059 Signed-off-by: Giovanni Rosa --- docker/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 00d3f32..5c405b2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,8 +12,8 @@ RUN apt-get install -y grml-debootstrap bats eatmydata RUN apt-get install -y curl less vim wget zsh # grml config -RUN wget -O /root/.vimrc https://raw.githubusercontent.com/grml/grml-etc-core/master/etc/vim/vimrc -RUN wget -O /root/.zshrc https://raw.githubusercontent.com/grml/grml-etc-core/master/etc/zsh/zshrc +RUN wget -O /root/.vimrc https://raw.githubusercontent.com/grml/grml-etc-core/master/etc/vim/vimrc \ + && wget -O /root/.zshrc https://raw.githubusercontent.com/grml/grml-etc-core/master/etc/zsh/zshrc # nice defaults ENV LANG C.UTF-8 @@ -23,7 +23,7 @@ ENV TERM xterm-256color RUN echo 'APT::Get::Show-Versions "1";' > /etc/apt/apt.conf.d/verbose # cleanup -RUN apt-get clean -RUN rm -rf /var/lib/apt/lists/* +RUN apt-get clean \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT ["/bin/zsh"] -- 2.1.4