Skip to content

Commit

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

ENV NODEJS_VERSION=20.8.1

RUN echo '@community http://dl-cdn.alpinelinux.org/alpine/v3.18/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 a40074c

Please sign in to comment.