@@ -7,12 +7,27 @@ COPY . /LadybugTools_Toolkit
77RUN pip3 install --no-cache-dir ./LadybugTools_Toolkit
88RUN rm ./LadybugTools_Toolkit -rf
99
10- # Install openstudio and dependencies.
1110RUN apt-get update \
12- && apt-get install -y wget \
13- && wget https://github.com/NREL/OpenStudio/releases/download/v3.10.0/OpenStudio-3.10.0+86d7e215a1-Ubuntu-22.04-x86_64.deb \
11+ && apt-get install wget -y
12+
13+ # Install openstudio and dependencies.
14+ RUN wget https://github.com/NREL/OpenStudio/releases/download/v3.10.0/OpenStudio-3.10.0+86d7e215a1-Ubuntu-22.04-x86_64.deb \
1415 && dpkg-deb -R OpenStudio-3.10.0+86d7e215a1-Ubuntu-22.04-x86_64.deb . \
15- && rm OpenStudio-3.10.0+86d7e215a1-Ubuntu-22.04-x86_64.deb -y \
16- && apt install libgomp1 libx11-6 -y \
17- && apt-get remove wget -y \
16+ && rm OpenStudio-3.10.0+86d7e215a1-Ubuntu-22.04-x86_64.deb \
17+ && apt install libgomp1 libx11-6 -y
18+
19+ # install radiance
20+ RUN wget https://github.com/LBNL-ETA/Radiance/releases/download/rad5R4/Radiance_4ee32974_Linux.zip \
21+ && apt-get install unzip -y \
22+ && unzip Radiance_4ee32974_Linux.zip \
23+ && tar --strip-components=1 -zxf radiance-5.4.4ee32974b1-Linux.tar.gz \
24+ && rm radiance-5.4.4ee32974b1-Linux.tar.gz \
25+ && rm Radiance_4ee32974_Linux.zip
26+
27+ # remove install packages and clean up
28+ RUN apt-get remove wget -y \
29+ && apt-get remove unzip -y \
1830 && apt autoremove -y
31+
32+ # add radiance directory to PATH
33+ ENV RAYPATH="/usr/local/radiance/lib"
0 commit comments