kou commented on code in PR #44644:
URL: https://github.com/apache/arrow/pull/44644#discussion_r1835550833


##########
ci/docker/python-wheel-windows-vs2019.dockerfile:
##########
@@ -34,12 +34,18 @@ RUN setx path "%path%;C:\Program Files\Git\usr\bin"
 #
 # Compiling vcpkg itself from a git tag doesn't work anymore since vcpkg has
 # started to ship precompiled binaries for the vcpkg-tool.
+ARG GITHUB_REPOSITORY_OWNER
+ARG GITHUB_TOKEN
 ARG vcpkg
 COPY ci/vcpkg/*.patch \
      ci/vcpkg/*windows*.cmake \
      arrow/ci/vcpkg/
 COPY ci/scripts/install_vcpkg.sh arrow/ci/scripts/
-ENV VCPKG_ROOT=C:\\vcpkg
+ENV GITHUB_REPOSITORY_OWNER="${GITHUB_REPOSITORY_OWNER}" \
+    GITHUB_TOKEN="${GITHUB_TOKEN}" \
+    VCPKG_BINARY_SOURCES="clear;nuget,GitHub,readwrite" \
+    VCPKG_ROOT=C:\\vcpkg
+# TODO: Use --mount=type=secret for GITHUB_TOKEN

Review Comment:
   I'll work on this in a follow-up task.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to