commit 836d626e7caba9578c3440ec0484e7ff1b4cc48e parent fb3875d3ae14bca4ab9869ca340df2ee63673400 Author: Sebastiano Tronto <sebastiano@tronto.net> Date: Wed, 23 Jul 2025 16:17:43 +0200 Added dockerfile for test in container Diffstat:
A | .dockerignore | | | 2 | ++ |
A | Dockerfile | | | 19 | +++++++++++++++++++ |
2 files changed, 21 insertions(+), 0 deletions(-)
diff --git a/.dockerignore b/.dockerignore @@ -0,0 +1 @@ +.gitignore +\ No newline at end of file diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,19 @@ +# This Dockerfile can be use to build a container to test nissy in different +# platforms. For example you can build the image with: +# +# docker build localhost/nissy-dev/arm . +# +# And then run unit tests in an arm64 container with +# +# docker run --platform=linux/arm64 -t localhost/nissy-dev/arm ./build test + +# TODO: add C++ compiler, emscripten + +FROM alpine:3.22.1 +RUN apk update && apk add \ + gcc \ + clang \ + python3 \ + python3-dev + +COPY . ./