Skip to content

Commit

Permalink
Merge pull request #233 from abeimler/fix/use-setup-cpp-mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 7, 2023
2 parents f2c10c1 + 884321a commit c027d6a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docker/Dockerfile.mingw
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,7 @@ RUN npm install -g setup-cpp
FROM base AS setup

# install cmake, ninja, and ccache
RUN setup-cpp --cmake true --ninja true --ccache true --cppcheck true --vcpkg true --conan true --task true --powershell true

# TODO: install cross-compiler with setup_cpp_linux
# NOTE: install mingw by hand, waiting for setup-cpp to have mingw cross-compiler support
RUN apt-get update && apt-get install -y \
mingw-w64 \
&& rm -rf /var/lib/apt/lists/*
RUN setup-cpp --compiler mingw --cmake true --ninja true --ccache true --cppcheck true --vcpkg true --conan true --task true --powershell true

COPY ./docker/entrypoint.sh /docker-entrypoint.sh
ENTRYPOINT [ "/docker-entrypoint.sh" ]
Expand Down

0 comments on commit c027d6a

Please sign in to comment.