Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
JuPedSim
JPSeditor
Commits
ac4b1096
Commit
ac4b1096
authored
Aug 03, 2016
by
Mohcine Chraibi
Browse files
Add Dockerfile
parent
ad7ad248
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
0 → 100644
View file @
ac4b1096
#-------------------------------------------------------------
# - build:
# docker build -t jupedsim/jpseditor .
# - run:
# 1. socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
# 2. docker -it -e DISPLAY=<your ip address> jupedsim/jpseditor
#-------------------------------------------------------------
FROM
ubuntu:14.04
MAINTAINER
Erik Andresen <e.andresen@uni-wuppertal.de>
# install required packages
RUN
apt-get update
&&
apt-get
install
-y
\
build-essential
\
cmake
\
g++
\
git
\
lcov
\
doxygen
\
qt5-default qttools5-dev-tools
\
# python \
# python-dev \
# python-pip \
&& apt-get clean
# set environment
ENV
HOME /home/jupedsim
# add user
RUN
groupadd
-r
-g
1000 jupedsim
&&
useradd
-r
-g
jupedsim
-u
1000
-m
jupedsim
USER
jupedsim
# install jpscore
RUN
mkdir
-p
/home/jupedsim/workspace
RUN
cd
/home/jupedsim/workspace
\
&&
git clone
--depth
=
5 https://cst.version.fz-juelich.de/jupedsim/jpseditor.git
\
&&
cd
jpseditor
\
&&
mkdir
-p
build
\
&&
cd
build
\
&&
cmake
-D
DESIRED_QT_VERSION
=
5 ..
\
&&
make
# by default /bin/bash is executed
CMD
$HOME/workspace/jpseditor/bin/JPSeditor
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment