We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f72346 commit 35dc029Copy full SHA for 35dc029
1 file changed
src/bonsai/Dockerfile
@@ -0,0 +1,22 @@
1
+# Build Bonsai .zip.
2
+# Usage:
3
+# # While in `bonsai` folder.
4
+# docker build -t bonsai-dist .
5
+# # Output zip file will be in `dist` folder.
6
+# # See possible values for variables in `Makefile`'s `dist` target description.
7
+# docker run --rm -v "$PWD/../../:/work" -w /work -e PLATFORM=win -e PYVERSION=py313 bonsai-dist
8
+
9
+FROM ubuntu:24.04
10
+RUN apt-get update
11
+RUN apt-get install -y make git wget unzip zip
12
13
+# Python
14
+RUN apt-get install -y software-properties-common
15
+RUN add-apt-repository ppa:deadsnakes/ppa
16
17
+RUN apt-get install -y python3.11 python3.11-venv
18
19
+RUN apt-get install -y npm
20
21
+WORKDIR /work
22
+CMD cd src/bonsai && make dist PLATFORM=$PLATFORM PYVERSION=$PYVERSION
0 commit comments