Skip to content

Commit

Permalink
Add node21
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Mar 24, 2024
1 parent 7ed4b1a commit 8c3c508
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions node21/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM dockette/alpine:3.19

ENV NODEJS_VERSION=21.4.0

RUN echo '@community http://dl-cdn.alpinelinux.org/alpine/v3.19/community' >> /etc/apk/repositories && \
apk update && apk upgrade && \
# DEPENDENCIES #############################################################
apk add --update bash git ca-certificates curl openssh tzdata make direnv && \
# NODEJS ###################################################################
apk add --update nodejs-current@community npm@community && \
# CLEAN UP #################################################################
rm -rf /var/cache/apk/*

CMD nodejs

0 comments on commit 8c3c508

Please sign in to comment.