Skip to content

Commit

Permalink
fix: should pass cache options when vcpkg install
Browse files Browse the repository at this point in the history
  • Loading branch information
cavivie committed Mar 29, 2024
1 parent daeae98 commit 20a395b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions win-alrd-rsxe/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
FROM ghcr.io/automesh-network/dockerfiles:win-dev-rust

# vcpkg binary source from github cache actions
ARG VCPKG_BINARY_SOURCES=
ARG ACTIONS_CACHE_URL=
ARG ACTIONS_RUNTIME_TOKEN=
# export cache options as environments to vcpkg
ENV VCPKG_BINARY_SOURCES=$VCPKG_BINARY_SOURCES
ENV ACTIONS_CACHE_URL=$ACTIONS_CACHE_URL
ENV ACTIONS_RUNTIME_TOKEN=$ACTIONS_RUNTIME_TOKEN
RUN vcpkg install openssl:x64-windows openssl:x64-windows-static openssl:x64-windows-static-md
RUN vcpkg install openssl:x86-windows openssl:x86-windows-static openssl:x86-windows-static-md
RUN vcpkg install openssl:arm64-windows openssl:arm64-windows-static openssl:arm64-windows-static-md
Expand Down

0 comments on commit 20a395b

Please sign in to comment.