Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
JPSeditor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JuPedSim
JPSeditor
Commits
ac4b1096
Commit
ac4b1096
authored
8 years ago
by
Mohcine Chraibi
Browse files
Options
Downloads
Patches
Plain Diff
Add Dockerfile
parent
ad7ad248
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+46
-0
46 additions, 0 deletions
Dockerfile
with
46 additions
and
0 deletions
Dockerfile
0 → 100644
+
46
−
0
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment