Skip to content

Commit

Permalink
Fix for Dockerfile smell DL3059
Browse files Browse the repository at this point in the history
Signed-off-by: Giovanni Rosa <g.rosa1@studenti.unimol.it>
  • Loading branch information
grosa1 committed Apr 14, 2023
1 parent 8aed9f5 commit 64d4081
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"]

0 comments on commit 64d4081

Please sign in to comment.