aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile26
1 files changed, 18 insertions, 8 deletions
diff --git a/Dockerfile b/Dockerfile
index a18a9cd..8362741 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,13 +7,23 @@
7# 7#
8# docker run --platform=linux/arm64 -t localhost/nissy-dev/arm ./build test 8# docker run --platform=linux/arm64 -t localhost/nissy-dev/arm ./build test
9 9
10# TODO: add C++ compiler, emscripten 10FROM debian:12
11 11
12FROM alpine:3.22.1 12# Install necessary packages
13RUN apk update && apk add \ 13RUN apt update
14 gcc \ 14RUN apt install --yes xz-utils git gcc g++ clang python3 python3-dev
15 clang \
16 python3 \
17 python3-dev
18 15
19COPY . ./ 16# Install emscripten.
17RUN git clone https://github.com/emscripten-core/emsdk.git
18WORKDIR /emsdk
19RUN ./emsdk install 4.0.11
20RUN ./emsdk activate 4.0.11
21ENV EMSDK="/emsdk"
22ENV EMSDK_NODE_BIN="$EMSDK/node/22.16.0_64bit/bin"
23ENV EMSDK_NODE="$EMSDK_NODE_BIN/node"
24ENV PATH="$EMSDK:$EMSDK/upstream/emscripten:$EMSDK_NODE_BIN:$PATH"
25
26# Copying the nissy-core repository and switching to that folder.
27WORKDIR /
28COPY . ./nissy-core
29WORKDIR /nissy-core

Generated with cgit - Back to sebastiano.tronto.net