Skip to content

Commit 302a940

Browse files
committed
fix unnecessary matlab image bloating
1 parent cc83e4d commit 302a940

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ ARG MATLAB_RUNTIME_SHA256="b821022690804e498d2e5ad814dccb64aab17c5e4bc10a1e2a124
1313
ENV MATLAB_RUNTIME_SHA256=${MATLAB_RUNTIME_SHA256}
1414

1515
RUN wget https://ssd.mathworks.com/supportfiles/downloads/R2021a/Release/1/deployment_files/installer/complete/glnxa64/MATLAB_Runtime_R2021a_Update_1_glnxa64.zip \
16-
&& echo "${MATLAB_RUNTIME_SHA256} MATLAB_Runtime_R2021a_Update_1_glnxa64.zip" | sha256sum -c -
17-
18-
RUN unzip MATLAB_Runtime_R2021a_Update_1_glnxa64.zip \
16+
&& echo "${MATLAB_RUNTIME_SHA256} MATLAB_Runtime_R2021a_Update_1_glnxa64.zip" | sha256sum -c - \
17+
&& unzip MATLAB_Runtime_R2021a_Update_1_glnxa64.zip \
1918
&& ./install -destinationFolder /opt/mcr -agreeToLicense yes -mode silent \
2019
&& cd / \
2120
&& rm -rf mcr-install

0 commit comments

Comments
 (0)