Ignore:
Timestamp:
04/28/19 17:32:28 (6 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
Phase:
public
Message:

The Docker/Wine-based build infrastructure works for Python 3 (re #347)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docker/initialize-mlxwinebuild.sh

    r916 r939  
    66scriptdir=`cd "${scriptdir}" && pwd`
    77
    8 docker build -t mlxwinebuild-base "${scriptdir}/context"
     8docker build -t mlxwinebuild-py3-base "${scriptdir}/context"
    99
    1010if test -z "${XAUTHORITY:-}"; then
     
    1212fi
    1313
    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 initialize
     14docker 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
    1515
    1616echo "Committing new image..."
    1717
    18 docker commit --change='CMD ["bash"]' mlxwinebuildinit mlxwinebuild
     18docker commit --change='CMD ["bash"]' mlxwinebuildinit mlxwinebuild-py3
    1919
    2020echo "Removing container..."
Note: See TracChangeset for help on using the changeset viewer.