Skip to content

Commit 73a973b

Browse files
committed
fixed deprecated feature x-gha from vcpkg
1 parent 37913f4 commit 73a973b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/ubuntu/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FROM ubuntu:24.04
77
ENV DEBIAN_FRONTEND=noninteractive
88
ENV VCPKG_ROOT=/opt/vcpkg
99
ENV VCPKG_FEATURE_FLAGS=manifest,binarycaching
10-
ENV VCPKG_BINARY_SOURCES="clear;x-gha,readwrite"
10+
ENV VCPKG_BINARY_SOURCES="clear;files,/root/.cache/vcpkg/archives,readwrite"
1111
ENV PATH="${VCPKG_ROOT}:${PATH}"
1212

1313
RUN apt-get update && apt-get install -y \
@@ -32,4 +32,7 @@ RUN clang++ --version && g++ --version
3232
RUN git clone https://github.com/microsoft/vcpkg.git ${VCPKG_ROOT}
3333
RUN ${VCPKG_ROOT}/bootstrap-vcpkg.sh
3434

35+
# Create the binary cache directory
36+
RUN mkdir -p /root/.cache/vcpkg/archives
37+
3538
WORKDIR /workspace

0 commit comments

Comments
 (0)