Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Dockerfile.linux: properly install "python3"
Browse files Browse the repository at this point in the history
  • Loading branch information
jesec committed Apr 15, 2021
1 parent e9c2efa commit ae15753
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ WORKDIR /root/pkg-fetch/

COPY . ./

RUN yum install -y glibc-headers kernel-headers git make patch python2 python3 rh-nodejs14-npm && scl enable rh-nodejs14 bash
RUN yum install -y glibc-headers kernel-headers git make patch python2 rh-nodejs14-npm rh-python38-python && scl enable rh-nodejs14 bash && scl enable rh-python38 bash

ENV LD_LIBRARY_PATH /opt/rh/rh-nodejs14/root/usr/lib64:$LD_LIBRARY_PATH
ENV MANPATH /opt/rh/rh-nodejs14/root/usr/share/man:$MANPATH
ENV PATH /opt/rh/rh-nodejs14/root/usr/bin:$PATH
ENV LD_LIBRARY_PATH /opt/rh/rh-python38/root/usr/lib64:/opt/rh/rh-nodejs14/root/usr/lib64:$LD_LIBRARY_PATH
ENV MANPATH /opt/rh/rh-python38/root/usr/share/man:/opt/rh/rh-nodejs14/root/usr/share/man:$MANPATH
ENV PATH /opt/rh/rh-python38/root/usr/bin:/opt/rh/rh-nodejs14/root/usr/bin:$PATH
ENV PYTHONPATH /opt/rh/rh-nodejs14/root/usr/lib/python2.7/site-packages

RUN npm install -g yarn
Expand Down

0 comments on commit ae15753

Please sign in to comment.