Skip to content
Snippets Groups Projects
Commit ac4b1096 authored by Mohcine Chraibi's avatar Mohcine Chraibi
Browse files

Add Dockerfile

parent ad7ad248
No related branches found
No related tags found
No related merge requests found
#-------------------------------------------------------------
# - 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment