diff options
Diffstat (limited to '')
| l--------- | .dockerignore | 1 | ||||
| -rw-r--r-- | Dockerfile | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/.dockerignore b/.dockerignore new file mode 120000 index 0000000..3e4e48b --- /dev/null +++ b/.dockerignore | |||
| @@ -0,0 +1 @@ | |||
| .gitignore \ No newline at end of file | |||
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 . ./ | ||
