Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SimStadt
simstadtpy
Commits
9ca4852d
Commit
9ca4852d
authored
Sep 22, 2026
by
Eric Duminil
Browse files
Simpler dockerfile, downloading SimStadt directly
parent
e2ae84ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
9ca4852d
...
...
@@ -7,17 +7,23 @@ ARG JRE_URL=https://download.bell-sw.com/java/${JRE_VERSION}/${JRE_DEB}
ARG
INSEL_VERSION=8.3.4.0b
ARG
INSEL_DEB="insel_${INSEL_VERSION}_x64_mini.deb"
ARG
INSEL_URL=https://insel.eu/download/${INSEL_DEB}
ARG
SIMSTADT_URL=https://simstadt.hft-stuttgart.de/download/InstallFiles/SimStadt2_latest.zip
# Java 17 + INSEL
# Java 17 + INSEL
+ SimStadt itself.
RUN
apt-get update
&&
\
apt-get
install
curl
--no-install-recommends
-y
&&
\
apt-get
install
curl
unzip
--no-install-recommends
-y
&&
\
curl
${
JRE_URL
}
-o
/tmp/
${
JRE_DEB
}
-k
&&
\
curl
${
INSEL_URL
}
-o
/tmp/
${
INSEL_DEB
}
-k
&&
\
curl
${
SIMSTADT_URL
}
-o
/tmp/simstadt.zip
-k
&&
\
apt-get
install
/tmp/
${
JRE_DEB
}
/tmp/
${
INSEL_DEB
}
--no-install-recommends
-y
&&
\
apt-get remove curl
-y
&&
\
mkdir
-p
/opt/SimStadt2
&&
\
unzip
-q
/tmp/simstadt.zip
-d
/opt/SimStadt2
&&
\
apt-get remove curl unzip
-y
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
apt-get clean
&&
\
rm
/tmp/
${
JRE_DEB
}
/tmp/
${
INSEL_DEB
}
rm
/tmp/
${
JRE_DEB
}
/tmp/
${
INSEL_DEB
}
/tmp/simstadt.zip
ENV
SIMSTADT_FOLDER=/opt/SimStadt2
# SRA
RUN
apt-get update
&&
\
...
...
@@ -40,7 +46,7 @@ ENV UV_PROJECT_ENVIRONMENT=/opt/venv
ENV
PATH="/opt/venv/bin:${PATH}"
USER
simstadt
RUN
mkdir
-p
/home/simstadt/app
/home/simstadt/Desktop
RUN
mkdir
-p
/home/simstadt/app
WORKDIR
/home/simstadt/app
FROM
base
AS
cli
...
...
@@ -49,7 +55,6 @@ COPY --chown=simstadt:simstadt pyproject.toml uv.lock README.md ./
RUN
uv
sync
--frozen
--no-install-project
RUN
uv pip
install
simstadt
RUN
simstadt
--install
COPY
--chown=simstadt:simstadt tests ./tests
...
...
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