Skip to content

Commit

Permalink
Merge pull request moby#30209 from WeiZhang555/add-build-args-for-rpm…
Browse files Browse the repository at this point in the history
…build

Add missing ${DOCKER_BUILD_ARGS}
  • Loading branch information
vdemeester authored Jan 17, 2017
2 parents 8c76519 + 062ce13 commit f63d1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/make/build-rpm
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ set -e
EOF
fi
tempImage="docker-temp/build-rpm:$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 /root/rpmbuild && tar -c *RPMS' | tar -xvC "$DEST/$version"
docker rmi "$tempImage"
done
Expand Down

0 comments on commit f63d1a6

Please sign in to comment.