Skip to content

Commit

Permalink
Update Dockerfile-7
Browse files Browse the repository at this point in the history
Add python 3.6
  • Loading branch information
wzkres authored Jun 4, 2024
1 parent c5291b7 commit 42ff98d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile-7
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@
FROM nvidia/cuda:11.7.1-devel-centos7

LABEL maintainer="wzkres" \
description="CentOS 7 CI build worker image with gcc, git, cmake, cppcheck, sonarscanner, cuda, etc for c/c++ projects"
description="CentOS 7 CI build worker image with gcc, git, cmake, python3, cppcheck, sonarscanner, cuda, etc for c/c++ projects"

RUN yum -y update && yum -y install epel-release && yum -y install centos-release-scl
RUN yum -y install wget devtoolset-8 automake libtool autoconf git
RUN yum -y install wget devtoolset-8 automake libtool autoconf git rh-python36
# libva dependencies
RUN yum -y install libdrm-devel
# v4l2 dependencies
RUN yum -y install alsa-lib-devel

#RUN scl enable devtoolset-8 bash
SHELL ["/usr/bin/scl", "enable", "devtoolset-8"]
SHELL ["/usr/bin/scl", "enable", "rh-python36"]

# Download & Compile CMake
RUN wget -q --no-check-certificate https://github.com/Kitware/CMake/releases/download/v3.29.4/cmake-3.29.4.tar.gz && \
Expand Down

0 comments on commit 42ff98d

Please sign in to comment.