-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
ARG ARCH=x86_64 | ||
FROM quay.io/pypa/musllinux_1_1_${ARCH}:latest | ||
|
||
RUN apk update && apk add build-base cmake ninja zip unzip curl git ninja | ||
RUN apk update && apk add build-base cmake zip unzip curl git | ||
|
||
# ninja available in apk is too old, build from source. | ||
RUN git clone https://github.com/ninja-build/ninja.git && cd ninja && git checkout v1.12.1 && mkdir ./build && cd build && cmake .. && cmake --build . | ||
ENV PATH="/ninja/build:$PATH" | ||
|
||
RUN git clone https://github.com/microsoft/vcpkg.git | ||
RUN cd vcpkg && git checkout 2024.09.30 | ||
RUN ./vcpkg/bootstrap-vcpkg.sh -disableMetrics | ||
ENV VCPKG_ROOT=/vcpkg | ||
ENV PATH="$PATH:$VCPKG_ROOT" | ||
|