Commit 228f8e87 authored by Eric Duminil's avatar Eric Duminil
Browse files

Add SRA too

parent 3f69ed7d
......@@ -21,6 +21,20 @@ RUN apt-get update && \
apt-get clean && \
rm /tmp/${JRE_DEB} /tmp/${INSEL_DEB}
# SRA (Simplified Radiosity Algorithm, used by shadow-processing workflow steps) is a
# separate ~550KB binary+library, not bundled in the SimStadt zip itself. Cheap enough to
# always include, even though the current test suite's shadow-processing integration tests
# already pass without it (SimStadt appears to fall back to a pure-Java path when absent).
# citysim_sra links against libGLU at runtime, hence libglu1-mesa below (small: ~1MB installed).
RUN apt-get update && \
apt-get install libglu1-mesa --no-install-recommends -y && \
rm -rf /var/lib/apt/lists/* && \
apt-get clean
ADD https://simstadt.hft-stuttgart.de/download/InstallFiles/citysim_sra /usr/local/bin/
RUN chmod a+rx /usr/local/bin/citysim_sra
ADD https://simstadt.hft-stuttgart.de/download/InstallFiles/libshortwave.so /usr/lib/
RUN chmod a+r /usr/lib/libshortwave.so
RUN groupadd -g 1000 simstadt \
&& useradd simstadt --create-home --shell /bin/bash -u 1000 -g 1000
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment