Changeset 939:de728888b85e for docker/initialize-mlxwinebuild.sh
- Timestamp:
- 04/28/19 17:32:28 (6 years ago)
- Branch:
- python3
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docker/initialize-mlxwinebuild.sh
r916 r939 6 6 scriptdir=`cd "${scriptdir}" && pwd` 7 7 8 docker build -t mlxwinebuild- base "${scriptdir}/context"8 docker build -t mlxwinebuild-py3-base "${scriptdir}/context" 9 9 10 10 if test -z "${XAUTHORITY:-}"; then … … 12 12 fi 13 13 14 docker run -it --name mlxwinebuildinit -v /tmp/.X11-unix:/tmp/.X11-unix -v "${XAUTHORITY}":/root/.Xauthority -v /usr/lib/x86_64-linux-gnu/vdpau:/usr/lib/x86_64-linux-gnu/vdpau --device /dev/nvidiactl --device /dev/nvidia0 --security-opt=apparmor:unconfined --env DISPLAY mlxwinebuild- base initialize14 docker run -it --name mlxwinebuildinit -v /tmp/.X11-unix:/tmp/.X11-unix -v "${XAUTHORITY}":/root/.Xauthority -v /usr/lib/x86_64-linux-gnu/vdpau:/usr/lib/x86_64-linux-gnu/vdpau --device /dev/nvidiactl --device /dev/nvidia0 --security-opt=apparmor:unconfined --env DISPLAY mlxwinebuild-py3-base initialize 15 15 16 16 echo "Committing new image..." 17 17 18 docker commit --change='CMD ["bash"]' mlxwinebuildinit mlxwinebuild 18 docker commit --change='CMD ["bash"]' mlxwinebuildinit mlxwinebuild-py3 19 19 20 20 echo "Removing container..."
Note:
See TracChangeset
for help on using the changeset viewer.