Fixed CentOS bug.

This commit is contained in:
arifiorino 2019-09-23 01:11:37 +00:00 committed by Dana Van Aken
parent 043d5b81d0
commit b9dc726b9c
1 changed files with 2 additions and 3 deletions

View File

@ -17,8 +17,8 @@ RUN yum update -y \
&& yum -y autoremove \ && yum -y autoremove \
&& yum clean metadata \ && yum clean metadata \
&& yum clean all \ && yum clean all \
&& ln -s `which python3.6` /usr/bin/python3 \ && ln -sf `which python3.6` /usr/bin/python3 \
&& ln -s `which pip3.6` /usr/bin/pip3 \ && ln -sf `which pip3.6` /usr/bin/pip3 \
&& wget https://services.gradle.org/distributions/${GRADLE_VERSION}-bin.zip \ && wget https://services.gradle.org/distributions/${GRADLE_VERSION}-bin.zip \
&& unzip ${GRADLE_VERSION}-bin.zip -d /opt \ && unzip ${GRADLE_VERSION}-bin.zip -d /opt \
&& rm ${GRADLE_VERSION}-bin.zip \ && rm ${GRADLE_VERSION}-bin.zip \
@ -28,4 +28,3 @@ RUN yum update -y \
&& gradle --version \ && gradle --version \
&& pip3 install -r /requirements.txt \ && pip3 install -r /requirements.txt \
&& rm /requirements.txt && rm /requirements.txt