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

Commit 2a09f60

Browse files
committed
Drop duplicate apt-get updates
1 parent 943a66a commit 2a09f60

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

containers/cpp/.devcontainer/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ ENV DEBIAN_FRONTEND=noninteractive
1010
# Set the default shell to bash rather than sh
1111
ENV SHELL /bin/bash
1212

13+
# Configure apt and install packages
1314
RUN apt-get update \
14-
#
15-
# Configure apt
1615
&& apt-get -y install --no-install-recommends apt-utils 2>&1 \
1716
#
1817
# Verify git, process tools, lsb-release (useful for CLI installs) installed
19-
&& apt-get update && apt-get -y install git procps lsb-release \
18+
&& apt-get -y install git procps lsb-release \
2019
#
2120
# Install C++ tools
2221
&& apt-get -y install build-essential cmake cppcheck valgrind \

containers/markdown/.devcontainer/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ ENV DEBIAN_FRONTEND=noninteractive
1010
# Set the default shell to bash rather than sh
1111
ENV SHELL /bin/bash
1212

13-
1413
# Configure apt and install packages
1514
RUN apt-get update \
1615
#

containers/ruby-2/.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ENV SHELL /bin/bash
1414
RUN apt-get update \
1515
&& apt-get -y install --no-install-recommends apt-utils 2>&1 \
1616
# Verify git, process tools installed
17-
&& apt-get update && apt-get -y install git procps lsb-release \
17+
&& apt-get -y install git procps lsb-release \
1818
#
1919
# Install ruby-debug-ide and debase
2020
&& gem install ruby-debug-ide \

0 commit comments

Comments
 (0)