Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1872080: Dockerfile: Remove conditional for symlinking python3 to python #90

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions Dockerfile.rhel
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,7 @@ RUN set -x; \
&& yum clean all \
&& rm -rf /var/cache/yum

# Workaround to RHEL8 not having python by default The current version (328) of the
# Presto fork uses a python script for it's launcher program, which is supposedly
# python2 and python3 compatible.
#
# TODO(tflannag): we should move this outside of the conditional build script
# once ART has moved to RHEL8 images.
RUN export OPENSHIFT_CI=${OPENSHIFT_CI:=false}; if [ "$OPENSHIFT_CI" == "true" ]; then alternatives --set python /usr/bin/python3; fi
RUN alternatives --set python /usr/bin/python3
RUN python --version

RUN mkdir -p /opt/presto
Expand Down