comparison Resources/Builders/MinGW32-Python2.7/docker-compile.sh @ 10:6f639ddfc4bc

fix mingw
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 31 Mar 2020 14:39:49 +0200
parents 8ec973ae8d6c
children 3678a028f1f6
comparison
equal deleted inserted replaced
9:8ec973ae8d6c 10:6f639ddfc4bc
14 14
15 ROOT_DIR=`dirname $(readlink -f $0)`/../../.. 15 ROOT_DIR=`dirname $(readlink -f $0)`/../../..
16 16
17 mkdir -p ${ROOT_DIR}/docker-build/ 17 mkdir -p ${ROOT_DIR}/docker-build/
18 18
19 docker build \ 19 ( cd ${ROOT_DIR}/Resources/Builders/ && \
20 -f ${ROOT_DIR}/Resources/Builders/Dockerfile-MinGW-BuildEnvironment \ 20 docker build \
21 -t mingw-python-build . 21 -f ./Dockerfile-MinGW-BuildEnvironment \
22 -t mingw-python-build . )
22 23
23 docker run -t ${DOCKER_FLAGS} --rm \ 24 docker run -t ${DOCKER_FLAGS} --rm \
24 --user $(id -u):$(id -g) \ 25 --user $(id -u):$(id -g) \
25 -v ${ROOT_DIR}:/source:ro \ 26 -v ${ROOT_DIR}:/source:ro \
26 -v ${ROOT_DIR}/docker-build:/target:rw \ 27 -v ${ROOT_DIR}/docker-build:/target:rw \