Skip to content

Commit

Permalink
change apt to apt-get for api stability and dont install recommends f…
Browse files Browse the repository at this point in the history
…or OpenStudio
  • Loading branch information
TShapinsky committed Aug 2, 2024
1 parent 0b1df66 commit d41ed30
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ARG DEBIAN_VERSION=bookworm
FROM python:${PYTHON_VERSION}-slim-bullseye AS modelica-dependencies
ARG SUNDIALS_VERSION=v7.1.1
ARG ASSIMULO_VERSION=3.5.2
RUN apt update \
&& apt install -y \
RUN apt-get update \
&& apt-get install -y \
cmake \
liblapack-dev \
libsuitesparse-dev \
Expand Down Expand Up @@ -95,8 +95,8 @@ ARG OPENSTUDIO_VERSION_SHA=f953b6fcaf
ARG ENERGYPLUS_VERSION=24.1.0
ARG ENERGYPLUS_VERSION_SHA=9d7789a3ac

RUN apt update \
&& apt install -y \
RUN apt-get update \
&& apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*

Expand Down Expand Up @@ -248,7 +248,7 @@ RUN --mount=type=bind,from=energyplus-dependencies,source=/artifacts,target=/art
gdebi-core \
openjdk-17-jre-headless \
; \
gdebi -o "APT::Install-Recommends=1" -n openstudio.deb; \
gdebi -o "APT::Install-Recommends=0" -n openstudio.deb; \
cd /usr/local/openstudio*; \
rm -rf \
EnergyPlus \
Expand Down

0 comments on commit d41ed30

Please sign in to comment.