-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18471 from GordonSmith/HPCC-31426-CENTOS7_PYTHON38
HPCC-31426 CentOS 7 + Python 3.8 Reviewed-by: Gavin Halliday <[email protected]> Merged-by: Gavin Halliday <[email protected]>
- Loading branch information
Showing
5 changed files
with
51 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
ARG VCPKG_REF=latest | ||
FROM hpccsystems/platform-build-base-centos-7:$VCPKG_REF | ||
|
||
RUN yum remove -y python3 python3-devel && \ | ||
yum install -y rh-python38 rh-python38-python-devel && \ | ||
yum clean all | ||
|
||
RUN echo "source /opt/rh/rh-python38/enable" >> /etc/bashrc | ||
SHELL ["/bin/bash", "--login", "-c"] | ||
|
||
ENTRYPOINT ["/bin/bash", "--login", "-c"] | ||
|
||
CMD ["/bin/bash"] |