mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
docker: commit dockerfile variants for static/dynamic linking
This commit is contained in:
parent
443c393218
commit
ce2032e6f3
19
docker/win64-cross-qt-mxe-dynamic.Dockerfile
Normal file
19
docker/win64-cross-qt-mxe-dynamic.Dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
FROM debian:bookworm
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
apt-get install -qyy gnupg2 golang-go ca-certificates
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive \
|
||||
echo "deb https://pkg.mxe.cc/repos/apt buster main" >/etc/apt/sources.list.d/mxeapt.list && \
|
||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 86B72ED9 && \
|
||||
apt-get update && \
|
||||
apt-get install -qyy mxe-x86-64-w64-mingw32.shared-qt5 && \
|
||||
apt-get clean
|
||||
|
||||
ENV PATH=/usr/lib/mxe/usr/bin:$PATH
|
||||
|
||||
ENV CXX=x86_64-w64-mingw32.shared-g++
|
||||
ENV CC=x86_64-w64-mingw32.shared-gcc
|
||||
ENV PKG_CONFIG=x86_64-w64-mingw32.shared-pkg-config
|
||||
ENV GOOS=windows
|
||||
ENV CGO_ENABLED=1
|
Loading…
Reference in New Issue
Block a user