Skip to content

Commit

Permalink
make vcpkg cache path
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Aug 14, 2024
1 parent 3ba2feb commit d17578b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dev/vcpkg/docker/gha-centos-7.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,16 @@ RUN sed -i \

RUN yum install -y git patch wget sudo java-1.8.0-openjdk-devel

# build
RUN git clone --depth=1 https://github.com/apache/incubator-gluten /opt/gluten

RUN echo "check_certificate = off" >> ~/.wgetrc
# deps

RUN cd /opt/gluten && bash ./dev/vcpkg/setup-build-depends.sh

# vcpkg env
# An actual path used for vcpkg cache.
RUN mkdir -p /var/cache/vcpkg

# Set vcpkg cache path.
ENV VCPKG_BINARY_SOURCES=clear;files,/var/cache/vcpkg,readwrite

# Build arrow, then install the native libs to system paths and jar package to .m2/ directory.
Expand Down

0 comments on commit d17578b

Please sign in to comment.