mirror of
https://github.com/mappu/miqt.git
synced 2025-01-22 22:50:36 +00:00
docker: add 32-bit mingw docker containers
This commit is contained in:
parent
421013ccb8
commit
185246e902
22
docker/win32-cross-go1.23-qt5.15-dynamic.Dockerfile
Normal file
22
docker/win32-cross-go1.23-qt5.15-dynamic.Dockerfile
Normal file
@ -0,0 +1,22 @@
|
||||
FROM golang:1.23-bookworm
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
apt-get install -qyy gnupg2 ca-certificates && \
|
||||
apt-get clean
|
||||
|
||||
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-i686-w64-mingw32.shared-qt5 && \
|
||||
apt-get clean
|
||||
|
||||
ENV PATH=/usr/lib/mxe/usr/bin:$PATH
|
||||
|
||||
ENV CXX=i686-w64-mingw32.shared-g++
|
||||
ENV CC=i686-w64-mingw32.shared-gcc
|
||||
ENV PKG_CONFIG=i686-w64-mingw32.shared-pkg-config
|
||||
ENV GOOS=windows
|
||||
ENV GOARCH=386
|
||||
ENV CGO_ENABLED=1
|
||||
ENV GOFLAGS=-buildvcs=false
|
22
docker/win32-cross-go1.23-qt5.15-static.Dockerfile
Normal file
22
docker/win32-cross-go1.23-qt5.15-static.Dockerfile
Normal file
@ -0,0 +1,22 @@
|
||||
FROM golang:1.23-bookworm
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
apt-get install -qyy gnupg2 ca-certificates && \
|
||||
apt-get clean
|
||||
|
||||
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-i686-w64-mingw32.static-qt5 && \
|
||||
apt-get clean
|
||||
|
||||
ENV PATH=/usr/lib/mxe/usr/bin:$PATH
|
||||
|
||||
ENV CXX=i686-w64-mingw32.static-g++
|
||||
ENV CC=i686-w64-mingw32.static-gcc
|
||||
ENV PKG_CONFIG=i686-w64-mingw32.static-pkg-config
|
||||
ENV GOOS=windows
|
||||
ENV GOARCH=386
|
||||
ENV CGO_ENABLED=1
|
||||
ENV GOFLAGS=-buildvcs=false
|
Loading…
x
Reference in New Issue
Block a user