summaryrefslogtreecommitdiffstats
path: root/build/Dockerfile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:19 +0000
commit0b6210cd37b68b94252cb798598b12974a20e1c1 (patch)
treee371686554a877842d95aa94f100bee552ff2a8e /build/Dockerfile
parentInitial commit. (diff)
downloadnode-undici-upstream.tar.xz
node-undici-upstream.zip
Adding upstream version 5.28.2+dfsg1+~cs23.11.12.3.upstream/5.28.2+dfsg1+_cs23.11.12.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/Dockerfile')
-rw-r--r--build/Dockerfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/build/Dockerfile b/build/Dockerfile
new file mode 100644
index 0000000..5438b73
--- /dev/null
+++ b/build/Dockerfile
@@ -0,0 +1,18 @@
+FROM node:20-alpine@sha256:4559bc033338938e54d0a3c2f0d7c3ad7d1d13c28c4c405b85c6b3a26f4ce5f7
+
+ARG UID=1000
+ARG GID=1000
+
+RUN apk add -U clang lld wasi-sdk
+RUN mkdir /home/node/undici
+
+WORKDIR /home/node/undici
+
+COPY package.json .
+COPY build build
+COPY deps deps
+COPY lib lib
+
+RUN npm i
+
+USER node