From: Giovanni Rosa Date: Fri, 14 Apr 2023 13:32:06 +0000 (+0200) Subject: Fix for Dockerfile smell DL3059 X-Git-Tag: v0.104~1^2 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=64d4081f1c82594b94ca12f743564ecdd240ff1c Fix for Dockerfile smell DL3059 Signed-off-by: Giovanni Rosa --- 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"]