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

Commit bb2f9cb

Browse files
committed
Clean up warnings
1 parent 029bc24 commit bb2f9cb

File tree

5 files changed

+45
-20
lines changed

5 files changed

+45
-20
lines changed

containers/javascript-node-8/.devcontainer/Dockerfile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@
55

66
FROM node:8
77

8-
# Install git, process tools
9-
RUN apt-get update && apt-get -y install git procps
8+
# Configure apt
9+
ENV DEBIAN_FRONTEND=noninteractive
10+
RUN apt-get update \
11+
&& apt-get -y install --no-install-recommends apt-utils 2>&1
12+
13+
# Verify git and process tools are installed
14+
RUN apt-get install -y git procps
1015

1116
# Install yarn
1217
RUN apt-get install -y curl apt-transport-https lsb-release \
13-
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - \
18+
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \
1419
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
1520
&& apt-get update \
16-
&& apt-get install -y yarn
21+
&& apt-get -y install --no-install-recommends yarn
1722

1823
# Install eslint
1924
RUN npm install -g eslint

containers/javascript-node-lts-mongo/.devcontainer/Dockerfile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@
55

66
FROM node:lts
77

8-
# Install git, process tools
9-
RUN apt-get update && apt-get -y install git procps
8+
# Configure apt
9+
ENV DEBIAN_FRONTEND=noninteractive
10+
RUN apt-get update \
11+
&& apt-get -y install --no-install-recommends apt-utils 2>&1
12+
13+
# Verify git and process tools are installed
14+
RUN apt-get install -y git procps
1015

1116
# Install yarn
1217
RUN apt-get install -y curl apt-transport-https lsb-release \
13-
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - \
18+
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \
1419
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
1520
&& apt-get update \
16-
&& apt-get install -y yarn
21+
&& apt-get -y install --no-install-recommends yarn
1722

1823
# Install eslint
1924
RUN npm install -g eslint

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@
55

66
FROM node:lts
77

8-
# Install git, process tools
9-
RUN apt-get update && apt-get -y install git procps
8+
# Configure apt
9+
ENV DEBIAN_FRONTEND=noninteractive
10+
RUN apt-get update \
11+
&& apt-get -y install --no-install-recommends apt-utils 2>&1
12+
13+
# Verify git and process tools are installed
14+
RUN apt-get install -y git procps
1015

1116
# Install yarn
1217
RUN apt-get install -y curl apt-transport-https lsb-release \
13-
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - \
18+
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \
1419
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
1520
&& apt-get update \
16-
&& apt-get install -y yarn
21+
&& apt-get -y install --no-install-recommends yarn
1722

1823
# Install eslint
1924
RUN npm install -g eslint

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@
55

66
FROM node:8
77

8-
# Install git, process tools
9-
RUN apt-get update && apt-get -y install git procps
8+
# Configure apt
9+
ENV DEBIAN_FRONTEND=noninteractive
10+
RUN apt-get update \
11+
&& apt-get -y install --no-install-recommends apt-utils 2>&1
12+
13+
# Verify git and process tools are installed
14+
RUN apt-get install -y git procps
1015

1116
# Install yarn
1217
RUN apt-get install -y curl apt-transport-https lsb-release \
13-
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - \
18+
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \
1419
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
1520
&& apt-get update \
16-
&& apt-get install -y yarn
21+
&& apt-get -y install --no-install-recommends yarn
1722

1823
# Install tslint and typescript
1924
RUN npm install -g tslint typescript

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

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,20 @@
55

66
FROM node:lts
77

8-
# Install git, process tools
9-
RUN apt-get update && apt-get -y install git procps
8+
# Configure apt
9+
ENV DEBIAN_FRONTEND=noninteractive
10+
RUN apt-get update \
11+
&& apt-get -y install --no-install-recommends apt-utils 2>&1
12+
13+
# Verify git and process tools are installed
14+
RUN apt-get install -y git procps
1015

1116
# Install yarn
1217
RUN apt-get install -y curl apt-transport-https lsb-release \
13-
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - \
18+
&& curl -sS https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/pubkey.gpg | apt-key add - 2>/dev/null \
1419
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
1520
&& apt-get update \
16-
&& apt-get install -y yarn
21+
&& apt-get -y install --no-install-recommends yarn
1722

1823
# Install tslint and typescript
1924
RUN npm install -g tslint typescript

0 commit comments

Comments
 (0)