зеркало из https://github.com/microsoft/docker.git
Add variable DOCKER_BUILD_ARGS to build-deb script
Some containers were being built (`docker build`) without the DOCKER_BUILD_ARGS variable, which was causing some issues because of the lack of network proxy configuration. Fixes #29132 Signed-off-by: Luiz Svoboda <luizek@gmail.com>
This commit is contained in:
Родитель
080d7a5543
Коммит
63aaf5e316
|
@ -82,7 +82,7 @@ set -e
|
|||
RUN dpkg-buildpackage -uc -us -I.git
|
||||
EOF
|
||||
tempImage="docker-temp/build-deb:$version"
|
||||
( set -x && docker build -t "$tempImage" -f "$DEST/$version/Dockerfile.build" . )
|
||||
( set -x && docker build ${DOCKER_BUILD_ARGS} -t "$tempImage" -f "$DEST/$version/Dockerfile.build" . )
|
||||
docker run --rm "$tempImage" bash -c 'cd .. && tar -c *_*' | tar -xvC "$DEST/$version"
|
||||
docker rmi "$tempImage"
|
||||
done
|
||||
|
|
Загрузка…
Ссылка в новой задаче