mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
build: Integrate my libmagic patch into the Dockerfile rather than my vcpkg fork (#1359)
This PR integrates my libmagic patch into the Dockerfile rather than my vcpkg fork (so we can use the official vcpkg repository in the future) That said, we still use my vcpkg fork for now because official vcpkg fails to compile freetype
This commit is contained in:
9
dist/web/Dockerfile
vendored
9
dist/web/Dockerfile
vendored
@@ -7,10 +7,15 @@ ARG UNIQUEKEY 1
|
||||
RUN apt update
|
||||
RUN apt install -y git ccache autoconf automake libtool cmake pkg-config
|
||||
|
||||
RUN <<EOF
|
||||
# Install vcpkg
|
||||
# Note: we are using my fork of the repository with a libmagic patch
|
||||
RUN git clone https://github.com/iTrooz/vcpkg --branch libmagic /vcpkg
|
||||
RUN /vcpkg/bootstrap-vcpkg.sh
|
||||
set -xe
|
||||
|
||||
git clone https://github.com/iTrooz/vcpkg /vcpkg
|
||||
/vcpkg/bootstrap-vcpkg.sh
|
||||
sed -i 's/vcpkg_install_make(${EXTRA_ARGS})/vcpkg_install_make(${EXTRA_ARGS} SUBPATH src)/g' /vcpkg/ports/libmagic/portfile.cmake
|
||||
EOF
|
||||
|
||||
# Patch vcpkg build instructions to add -pthread
|
||||
RUN <<EOF
|
||||
|
||||
Reference in New Issue
Block a user