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

Commit bd66218

Browse files
committed
changed apt update to inline in run statement
1 parent 963ef57 commit bd66218

File tree

1 file changed

+3
-4
lines changed
  • containers/typescript-node-lts/.devcontainer

1 file changed

+3
-4
lines changed

containers/typescript-node-lts/.devcontainer/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ ENV SHELL /bin/bash
1212

1313
# Configure apt
1414
RUN apt-get update \
15-
&& apt-get -y install --no-install-recommends apt-utils 2>&1
16-
17-
# Verify git and needed tools are installed
18-
RUN apt-get install -y git procps \
15+
&& apt-get -y install --no-install-recommends apt-utils 2>&1 \
16+
# Verify git and needed tools are installed
17+
&& apt-get install -y git procps \
1918
# Remove outdated yarn from /opt and install via package
2019
# so it can be easily updated via apt-get upgrade yarn
2120
&& rm -rf /opt/yarn-* \

0 commit comments

Comments
 (0)