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

update dockerfile centos7 to python38 #338

Merged
merged 1 commit into from
Jul 29, 2022
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
4 changes: 1 addition & 3 deletions ci/docker/Dockerfile.collect-centos7-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,10 @@ RUN yum -y install devtoolset-9 \
unzip \
ShellCheck
RUN ln -s /usr/bin/cmake3 /usr/bin/cmake
RUN source /opt/rh/rh-python38/enable && pip3 install conan --prefix=/usr --upgrade
RUN rm -rf ~/.conan/profiles/default
COPY conanfile.txt .
RUN cat conanfile.txt
RUN source /opt/rh/devtoolset-9/enable && source /opt/rh/rh-python38/enable && \
conan install . -s compiler.cppstd=14 -s compiler.libcxx=libstdc++11 --build='*'
pip3 install conan --upgrade && conan install . -s compiler.cppstd=14 -s compiler.libcxx=libstdc++11 --build='*'

RUN unzip -q sonar-scanner-cli-4.7.0.2747-linux.zip
RUN rm -rf sonar-scanner-cli-4.7.0.2747-linux.zip
Expand Down