Skip to content

Commit

Permalink
Enable Python38 on Centos7
Browse files Browse the repository at this point in the history
  • Loading branch information
giffels committed Jul 27, 2023
1 parent af82a44 commit 96b538e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ LABEL maintainer="Manuel Giffels <giffels@gmail.com>"
RUN yum -y install epel-release centos-release-scl-rh curl && yum clean all
RUN yum --enablerepo=centos-sclo-rh -y install rh-python38 && yum clean all

RUN scl enable rh-python38 bash

RUN curl -sL https://rpm.nodesource.com/setup_16.x | bash -

RUN yum -y update \
Expand All @@ -14,4 +12,10 @@ RUN yum -y update \
nodejs \
&& yum clean all

ENV PATH=/opt/rh/rh-python38/root/usr/local/bin:/opt/rh/rh-python38/root/usr/bin${PATH:+:${PATH}}
ENV LD_LIBRARY_PATH=/opt/rh/rh-python38/root/usr/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
ENV MANPATH=/opt/rh/rh-python38/root/usr/share/man:$MANPATH
ENV PKG_CONFIG_PATH=/opt/rh/rh-python38/root/usr/lib64/pkgconfig${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}
ENV XDG_DATA_DIRS="/opt/rh/rh-python38/root/usr/share:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"

SHELL [ "/bin/bash", "--noprofile", "--norc", "-e", "-o", "pipefail", "-c" ]
2 changes: 1 addition & 1 deletion docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. Created by changelog.py at 2023-07-26, command
.. Created by changelog.py at 2023-07-27, command
'/Users/giffler/.cache/pre-commit/repor6pnmwlm/py_env-python3.10/bin/changelog docs/source/changes compile --output=docs/source/changelog.rst'
based on the format of 'https://keepachangelog.com/'
Expand Down

0 comments on commit 96b538e

Please sign in to comment.