Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Drop duplicate apt-get updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Jun 15, 2019
1 parent 943a66a commit 2a09f60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions containers/cpp/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash

# Configure apt and install packages
RUN apt-get update \
#
# Configure apt
&& apt-get -y install --no-install-recommends apt-utils 2>&1 \
#
# Verify git, process tools, lsb-release (useful for CLI installs) installed
&& apt-get update && apt-get -y install git procps lsb-release \
&& apt-get -y install git procps lsb-release \
#
# Install C++ tools
&& apt-get -y install build-essential cmake cppcheck valgrind \
Expand Down
1 change: 0 additions & 1 deletion containers/markdown/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ ENV DEBIAN_FRONTEND=noninteractive
# Set the default shell to bash rather than sh
ENV SHELL /bin/bash


# Configure apt and install packages
RUN apt-get update \
#
Expand Down
2 changes: 1 addition & 1 deletion containers/ruby-2/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ENV SHELL /bin/bash
RUN apt-get update \
&& apt-get -y install --no-install-recommends apt-utils 2>&1 \
# Verify git, process tools installed
&& apt-get update && apt-get -y install git procps lsb-release \
&& apt-get -y install git procps lsb-release \
#
# Install ruby-debug-ide and debase
&& gem install ruby-debug-ide \
Expand Down

0 comments on commit 2a09f60

Please sign in to comment.