Skip to content

Commit d707743

Browse files
committed
Updated Alpine to 3.18.4 and node/npm to latest
1 parent 2fbfb6e commit d707743

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

Dockerfile

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
1-
FROM alpine:3.17.3
1+
FROM alpine:3.18.4
22

33
# Installs shell related tools
44
RUN apk --no-cache add sudo tini shadow bash \
55
# Installs compatibility libs
66
gcompat libc6-compat libgcc libstdc++ \
77
# Installs some basic tools
8-
git curl socat openssh-client nano unzip brotli zstd xz
8+
git curl socat openssh-client nano unzip brotli zstd xz \
9+
# Installs node and npm
10+
nodejs npm
911

10-
# Installs "older" node-16 and npm-8
11-
# Hack: to install such versions, we use repository from previous Alpine (3.16)
12-
RUN sed -i 's/17/16/g' /etc/apk/repositories && \
13-
apk --no-cache add nodejs=16.19.1-r0 npm=8.10.0-r0 && \
14-
sed -i 's/16/17/g' /etc/apk/repositories
15-
1612
ARG USERNAME=coder
1713
ARG USER_UID=1000
1814
ARG USER_GID=$USER_UID

0 commit comments

Comments
 (0)