forked from DLR-TS/tsc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
22 lines (16 loc) · 807 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This Dockerfile installs tsc with allpublicly available scenario inputs
# to build this image run the following command
# $ docker build -t tsc - < Dockerfile.ubuntu.git
# to use it run (GUI applications need more work)
# $ docker run -it tsc bash
FROM ghcr.io/eclipse/sumo:nightly
# tsc needs lfs for the scenarios
RUN apt-get -y install git-lfs; git lfs install
RUN cd /opt; git clone --recursive https://github.com/DLR-TS/tsc; git clone --recursive https://github.com/DLR-TS/sumo-scenarios
# python packages needed (also listed in requirements.txt but we prefer the ubuntu packages)
RUN apt-get -y install python3-psycopg2
# ensure up-to-date pip
RUN python3 -m pip install -U pip
RUN cd /opt/tsc; pip install .
#RUN cd /opt/tsc; tsc_install
#RUN cd /opt/tsc; tsc_install -p /opt/sumo-scenarios/