diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-23 16:17:43 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-23 16:17:43 +0200 |
| commit | 836d626e7caba9578c3440ec0484e7ff1b4cc48e (patch) | |
| tree | 38c9feb30f176397ee738b7fa583359a6dd3a16f /Dockerfile | |
| parent | fb3875d3ae14bca4ab9869ca340df2ee63673400 (diff) | |
| download | nissy-core-836d626e7caba9578c3440ec0484e7ff1b4cc48e.tar.gz nissy-core-836d626e7caba9578c3440ec0484e7ff1b4cc48e.zip | |
Added dockerfile for test in container
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a18a9cd --- /dev/null +++ b/Dockerfile | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # This Dockerfile can be use to build a container to test nissy in different | ||
| 2 | # platforms. For example you can build the image with: | ||
| 3 | # | ||
| 4 | # docker build localhost/nissy-dev/arm . | ||
| 5 | # | ||
| 6 | # And then run unit tests in an arm64 container with | ||
| 7 | # | ||
| 8 | # docker run --platform=linux/arm64 -t localhost/nissy-dev/arm ./build test | ||
| 9 | |||
| 10 | # TODO: add C++ compiler, emscripten | ||
| 11 | |||
| 12 | FROM alpine:3.22.1 | ||
| 13 | RUN apk update && apk add \ | ||
| 14 | gcc \ | ||
| 15 | clang \ | ||
| 16 | python3 \ | ||
| 17 | python3-dev | ||
| 18 | |||
| 19 | COPY . ./ | ||
