This repository was archived by the owner on Nov 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +45
-20
lines changed
javascript-node-8/.devcontainer
javascript-node-lts-mongo/.devcontainer
javascript-node-lts/.devcontainer
typescript-node-8/.devcontainer
typescript-node-lts/.devcontainer Expand file tree Collapse file tree 5 files changed +45
-20
lines changed Original file line number Diff line number Diff line change 5
5
6
6
FROM node:8
7
7
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
10
15
11
16
# Install yarn
12
17
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 \
14
19
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
15
20
&& apt-get update \
16
- && apt-get install -y yarn
21
+ && apt-get -y install --no-install-recommends yarn
17
22
18
23
# Install eslint
19
24
RUN npm install -g eslint
Original file line number Diff line number Diff line change 5
5
6
6
FROM node:lts
7
7
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
10
15
11
16
# Install yarn
12
17
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 \
14
19
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
15
20
&& apt-get update \
16
- && apt-get install -y yarn
21
+ && apt-get -y install --no-install-recommends yarn
17
22
18
23
# Install eslint
19
24
RUN npm install -g eslint
Original file line number Diff line number Diff line change 5
5
6
6
FROM node:lts
7
7
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
10
15
11
16
# Install yarn
12
17
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 \
14
19
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
15
20
&& apt-get update \
16
- && apt-get install -y yarn
21
+ && apt-get -y install --no-install-recommends yarn
17
22
18
23
# Install eslint
19
24
RUN npm install -g eslint
Original file line number Diff line number Diff line change 5
5
6
6
FROM node:8
7
7
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
10
15
11
16
# Install yarn
12
17
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 \
14
19
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
15
20
&& apt-get update \
16
- && apt-get install -y yarn
21
+ && apt-get -y install --no-install-recommends yarn
17
22
18
23
# Install tslint and typescript
19
24
RUN npm install -g tslint typescript
Original file line number Diff line number Diff line change 5
5
6
6
FROM node:lts
7
7
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
10
15
11
16
# Install yarn
12
17
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 \
14
19
&& echo "deb https://dl.yarnpkg.com/$(lsb_release -is | tr '[:upper:]' '[:lower:]')/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
15
20
&& apt-get update \
16
- && apt-get install -y yarn
21
+ && apt-get -y install --no-install-recommends yarn
17
22
18
23
# Install tslint and typescript
19
24
RUN npm install -g tslint typescript
You can’t perform that action at this time.
0 commit comments