Commit 6227dae4 authored by martin schitter's avatar martin schitter

modifications for new installer

parent 9f0d6679
Pipeline #45866257 passed with stages
in 28 minutes and 34 seconds
......@@ -35,14 +35,14 @@ deploy:
- FROM=nvidia/cudagl:9.1-runtime-centos7
- MESA=""
- docker build --device /dev/fuse --build-arg from=${FROM} --build-arg mesa=${MESA} -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA .
- docker build --build-arg from=${FROM} --build-arg mesa=${MESA} -t $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA .
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:$VERSION
- docker tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA $CI_REGISTRY_IMAGE:latest
- docker push $CI_REGISTRY_IMAGE
- FROM=nvidia/cuda:9.1-runtime-centos7
- MESA=mesa-dri-drivers
- docker build --device /dev/fuse --build-arg from=${FROM} --build-arg mesa=${MESA} -t ${CI_REGISTRY_IMAGE}/mesa:$CI_COMMIT_SHA .
- docker build --build-arg from=${FROM} --build-arg mesa=${MESA} -t ${CI_REGISTRY_IMAGE}/mesa:$CI_COMMIT_SHA .
- docker tag ${CI_REGISTRY_IMAGE}/mesa:$CI_COMMIT_SHA ${CI_REGISTRY_IMAGE}/mesa:$VERSION
- docker tag ${CI_REGISTRY_IMAGE}/mesa:$CI_COMMIT_SHA ${CI_REGISTRY_IMAGE}/mesa:latest
- docker push ${CI_REGISTRY_IMAGE}/mesa
......@@ -8,7 +8,7 @@ RUN yum -y install usbutils pciutils psmisc bzip2 unzip rsync \
${mesa} glx-utils mesa-libGLU libXmu libXi libSM freetype librsvg2 \
alsa-lib alsa-plugins-pulseaudio libgomp libxkbcommon fuse-libs \
&& yum -y install epel-release \
&& yum -y install ocl-icd clinfo \
&& yum -y install ocl-icd clinfo xorriso \
&& rm -rf /var/cache/yum/*
RUN mkdir -p /etc/OpenCL/vendors \
......@@ -17,10 +17,12 @@ RUN mkdir -p /etc/OpenCL/vendors \
COPY DaVinci_Resolve_*_Linux.zip /tmp/
RUN alias zenity=echo \
&& cd /tmp \
&& mkdir unpack \
&& unzip DaVinci_Resolve_*_Linux.zip \
&& mkdir -p /root/Desktop/DaVinci \
&& ./DaVinci_Resolve_*_Linux.run --accept \
&& rm -f DaVinci_Resolve_*_Linux.* Linux_Installation_Instructions.pdf
&& xorriso -osirrox on -indev ./DaVinci_Resolve_*_Linux.run -extract / unpack \
&& unpack/AppRun -i -a -y \
&& rm -rf unpack DaVinci_Resolve_*_Linux.* Linux_Installation_Instructions.pdf
RUN dbus-uuidgen > /etc/machine-id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment