Skip to content

Commit

Permalink
18 add devtoolset 11 to dockerfile (#19)
Browse files Browse the repository at this point in the history
* Update Dockerfile

* Install centos-release-scl-rh
* Install devtoolset-11
* Move dss-gcc and aws-sdk install to the end of the Dockerfile

* Revert Dockerfile changes.

Move gcc and aws-sdk back to where they were.
This reduces the image by 16 MB.
  • Loading branch information
velomatt committed Mar 11, 2023
1 parent df1db11 commit 2f6a60a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY dss-ansible/artifacts/dss-gcc510-*.rpm ./
COPY dss-ansible/artifacts/aws-sdk-cpp-*.rpm ./
RUN set -eux \
&& yum install -y \
epel-release && \
epel-release centos-release-scl-rh && \
yum group install -y \
"Development Tools" && \
yum install -y \
Expand All @@ -15,6 +15,7 @@ RUN set -eux \
cmake3 \
CUnit-devel \
dejagnu \
devtoolset-11 \
dpkg \
elfutils-libelf-devel \
expect \
Expand Down

0 comments on commit 2f6a60a

Please sign in to comment.