Skip to content

Commit 7360567

Browse files
committed
extend the vcpkg cache pattern to remaining Dockerfiles
1 parent 7da3b55 commit 7360567

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/actions/openziti-tunnel-build-action/redhat-8/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ RUN curl -sSfL https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSIO
4040

4141
ENV VCPKG_ROOT=/usr/local/vcpkg
4242
# this must be set on arm. see https://learn.microsoft.com/en-us/vcpkg/users/config-environment#vcpkg_force_system_binaries
43+
ENV VCPKG_BINARY_SOURCES="clear;files,/github/workspace/vcpkg_cache,readwrite"
4344
ENV VCPKG_FORCE_SYSTEM_BINARIES=yes
4445

4546
RUN cd /usr/local \

.github/actions/openziti-tunnel-build-action/ubuntu-20.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ RUN curl -sSfL https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSIO
5454
&& rm cmake.sh
5555

5656
ENV VCPKG_ROOT=/usr/local/vcpkg
57+
ENV VCPKG_BINARY_SOURCES="clear;files,/github/workspace/vcpkg_cache,readwrite"
5758
# this must be set on arm. see https://learn.microsoft.com/en-us/vcpkg/users/config-environment#vcpkg_force_system_binaries
5859
ENV VCPKG_FORCE_SYSTEM_BINARIES=yes
5960

.github/actions/openziti-tunnel-build-action/ubuntu-22.04/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ RUN curl -sSfL "https://cmake.org/files/v${CMAKE_VERSION%.*}/cmake-${CMAKE_VERSI
5959
&& rm cmake.sh
6060

6161
ENV VCPKG_ROOT=/usr/local/vcpkg
62+
ENV VCPKG_BINARY_SOURCES="clear;files,/github/workspace/vcpkg_cache,readwrite"
6263
# this must be set on arm. see https://learn.microsoft.com/en-us/vcpkg/users/config-environment#vcpkg_force_system_binaries
6364
ENV VCPKG_FORCE_SYSTEM_BINARIES=yes
6465

0 commit comments

Comments
 (0)