File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This Dockerfile builds an fMBT image from which you can run
2
+ # the fMBT test generator and python3 versions of utilities.
3
+ #
4
+ # Usage:
5
+ # 1. Build image:
6
+ # $ docker build . -t fmbt:latest
7
+ # 2. Launch fmbt3-editor with X forward:
8
+ # $ docker run -it --network=host -e DISPLAY=$DISPLAY -v ~/.Xauthority:/root/.Xauthority fmbt:latest
9
+ # # fmbt3-editor
10
+ #
11
+ # Tips:
12
+ # Use and modify test models on the host by adding another volume mount
13
+ # before the image (fmbt:latest) to the docker run command above:
14
+ # -v /path/to/your/models:/models
15
+ # Now you can run tests and edit models in /models inside the container:
16
+ # # fmbt3-editor /models/mymodel.aal
17
+
18
+ FROM debian:buster
19
+
20
+ RUN apt-get update
21
+ RUN apt-get install -y \
22
+ git build-essential libglib2.0-dev libboost-regex-dev libedit-dev libmagickcore-dev \
23
+ python-dev python-pexpect python-dbus python-gobject gawk libtool autoconf automake debhelper \
24
+ libboost-dev flex libpng16-16 libxml2-dev graphviz imagemagick gnuplot tesseract-ocr \
25
+ python3-pyside2.qtcore \
26
+ python3-pyside2.qtgui \
27
+ python3-pyside2.qtwidgets
28
+
29
+ COPY . /usr/src/fmbt
30
+
31
+ RUN cd /usr/src/fmbt && \
32
+ ./autogen.sh && \
33
+ ./configure && \
34
+ make -j 4 && \
35
+ make install
36
+
37
+ RUN cd /usr/src/fmbt/utils3 && \
38
+ python3 setup.py install
39
+
40
+ CMD ["/bin/bash" ]
You can’t perform that action at this time.
0 commit comments