8000
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 e5ffc6c commit d7839ccCopy full SHA for d7839cc
Dockerfile
@@ -0,0 +1,27 @@
1
+FROM debian:10 AS builder
2
+RUN apt-get update \
3
+ && apt-get install --yes --no-install-recommends \
4
+ g++ \
5
+ libpython3-dev \
6
+ make \
7
+ python3 \
8
+ python3-dev \
9
+ python3-numpy
10
+
11
+ADD Makefile matplotlibcpp.h numpy_flags.py /opt/
12
+ADD examples/*.cpp /opt/examples/
13
+RUN cd /opt \
14
+ && make PYTHON_BIN=python3 \
15
+ && ls examples/build
16
17
+FROM debian:10
18
19
20
21
+ python3-matplotlib \
22
23
24
+COPY --from=builder /opt/examples/build /opt/
25
26
+ && ls \
27
+ && ./basic
0 commit comments