mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-16 23:05:45 +01:00
optimise CI pipeline by removing vcpkg building from the dockerfile.
This commit is contained in:
10
.github/Dockerfile
vendored
10
.github/Dockerfile
vendored
@@ -4,11 +4,6 @@ FROM debian:testing-slim
|
||||
LABEL org.opencontainers.image.source="https://github.com/thepigeongenerator/mcaselector-lite"
|
||||
LABEL org.opencontainers.image.source-path="/.github/Dockerfile"
|
||||
|
||||
# set environment variables
|
||||
ENV VCPKG_DISABLE_METRICS="1"
|
||||
ENV VCPKG_ROOT="/opt/vcpkg"
|
||||
ENV PATH="${VCPKG_ROOT}:${PATH}"
|
||||
|
||||
# install the dependencies
|
||||
RUN apt update && apt install -y --no-install-recommends \
|
||||
ca-certificates \
|
||||
@@ -23,9 +18,4 @@ RUN apt update && apt install -y --no-install-recommends \
|
||||
nodejs \
|
||||
&& rm -rf /var/lib/apt/lists/*;
|
||||
|
||||
# install packages / VCPKG
|
||||
RUN git clone https://github.com/microsoft/vcpkg.git "${VCPKG_ROOT}" \
|
||||
&& "${VCPKG_ROOT}/bootstrap-vcpkg.sh" \
|
||||
&& vcpkg install glfw3:x64-linux-dynamic glfw3:x64-mingw-static;
|
||||
|
||||
CMD ["bash"]
|
||||
|
||||
Reference in New Issue
Block a user