Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
eclipse
GitHub Repository: eclipse/sumo
Path: blob/main/build_config/docker/Dockerfile.ubuntu.latest
185785 views
# to build this image run the following command
# $ docker build -t sumo:latest - < Dockerfile.ubuntu.latest
# to use it run (GUI applications won't work)
# $ docker run -it sumo:latest bash
# now you have a bash inside a docker container and can for instance run
# $ sumo -c $SUMO_HOME/docs/examples/sumo/busses/test.sumocfg

FROM ubuntu:jammy

ENV SUMO_HOME=/usr/share/sumo

RUN apt-get -y update; apt-get -y install software-properties-common; add-apt-repository ppa:sumo/stable
RUN apt-get -y update; apt-get -y install sumo sumo-doc sumo-tools

RUN useradd -ms /bin/bash sumo

USER sumo
WORKDIR /home/sumo