Skip to content

Commit

Permalink
add nodejs19
Browse files Browse the repository at this point in the history
  • Loading branch information
gOOvER committed Mar 19, 2023
1 parent 2a04152 commit 75a3f26
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
- 16
- 17
- 18
- 19
steps:
- uses: actions/checkout@v3
# Setup QEMU for ARM64 Build
Expand Down
16 changes: 16 additions & 0 deletions nodejs/19/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM --platform=$TARGETOS/$TARGETARCH node:19-bullseye-slim

LABEL author="Michael Parker" maintainer="[email protected]"

RUN apt update \
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping \
&& useradd -m -d /home/container container

RUN npm install npm@latest -g

USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container

COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]

0 comments on commit 75a3f26

Please sign in to comment.