Skip to content

Commit 28d7221

Browse files
authored
install nodejs and yarn in alpine containers (microsoft#36)
1 parent 0038dba commit 28d7221

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

alpine-arm64/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
FROM arm64v8/alpine:3.16
1+
ARG REPO=alpine
2+
ARG TAG=3.16
3+
FROM arm64v8/${REPO}:${TAG}
24

3-
RUN apk add g++ python3 make git bash curl perl pkgconfig libsecret-dev && uname -m
5+
RUN apk add nodejs npm g++ python3 make git bash curl perl pkgconfig libsecret-dev
6+
RUN npm install -g yarn
47

58
RUN mkdir -p /root/vscode
69
WORKDIR /root/vscode

alpine-x64/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ ARG REPO=alpine
22
ARG TAG=3.16
33
FROM ${REPO}:${TAG}
44

5-
RUN apk add g++ python3 make git bash curl perl pkgconfig libsecret-dev
5+
RUN apk add nodejs npm g++ python3 make git bash curl perl pkgconfig libsecret-dev
6+
RUN npm install -g yarn
67

78
RUN mkdir -p /root/vscode
89
WORKDIR /root/vscode

0 commit comments

Comments
 (0)