use azure pipelines for docker image building

This commit is contained in:
therecipe 2018-11-07 19:45:50 +01:00
parent 308a4f1aa8
commit e36f16190b
43 changed files with 307 additions and 239 deletions

3
azure-pipelines.yml Normal file
View file

@ -0,0 +1,3 @@
jobs:
-
template: internal/docker/docker_pipelines_template.yml

View file

@ -107,6 +107,8 @@ func Test(target string, docker, vagrant bool, vagrantsystem string) {
"sailfish": []string{"listview", "listview_variant"},
"showcases": []string{"sia"},
"sql": []string{"masterdetail", "masterdetail_qml", "querymodel"},
"uitools": []string{"calculator"},
@ -146,7 +148,10 @@ func Test(target string, docker, vagrant bool, vagrantsystem string) {
}
if (target == "js" || target == "wasm") &&
cat == "charts" || cat == "uitools" || cat == "sql" {
cat == "charts" || cat == "uitools" || cat == "sql" ||
cat == "androidextras" || cat == "qt3d" || cat == "webchannel" ||
(cat == "widgets" && strings.HasPrefix(example, "treeview")) ||
example == "video_player" {
continue
}

View file

@ -0,0 +1,11 @@
jobs:
-
job: '${{ parameters.tag }}'
pool:
vmImage: ubuntu-16.04
dependsOn: '${{ parameters.dep }}'
steps:
-
script: 'docker build -f internal/docker/${{ parameters.file }} -t therecipe/qt:${{ parameters.tag }} .'
-
script: 'docker login -u therecipe -p $(DOCKER_PASSWORD) && docker push therecipe/qt:${{ parameters.tag }} && docker logout'

View file

@ -0,0 +1,221 @@
jobs:
-
template: docker_job_template.yml
parameters:
file: android/Dockerfile
tag: android
dep: linux
-
template: docker_job_template.yml
parameters:
file: js/Dockerfile
tag: js
dep:
- js_base
- linux
-
template: docker_job_template.yml
parameters:
file: js/Dockerfile.base
tag: js_base
-
template: docker_job_template.yml
parameters:
file: js/Dockerfile.wasm
tag: wasm
dep:
- js_base
- linux
-
template: docker_job_template.yml
parameters:
file: linux/Dockerfile
tag: linux
-
template: docker_job_template.yml
parameters:
file: linux/Dockerfile.56
tag: linux_56
-
template: docker_job_template.yml
parameters:
file: linux/Dockerfile.59
tag: linux_59
-
template: docker_job_template.yml
parameters:
file: linux/Dockerfile.arch
tag: linux_arch
-
template: docker_job_template.yml
parameters:
file: linux/Dockerfile.ubuntu_16_04
tag: linux_ubuntu_16_04
-
template: docker_job_template.yml
parameters:
file: linux/Dockerfile.ubuntu_18_04
tag: linux_ubuntu_18_04
-
template: docker_job_template.yml
parameters:
file: sailfish/Dockerfile
tag: sailfish
-
template: docker_job_template.yml
parameters:
file: ubports/Dockerfile.64_vivid
tag: ubports_64_vivid
dep: linux
-
template: docker_job_template.yml
parameters:
file: ubports/Dockerfile.64_xenial
tag: ubports_64_xenial
dep: linux
-
template: docker_job_template.yml
parameters:
file: ubports/Dockerfile.arm_vivid
tag: ubports_arm_vivid
dep: linux
-
template: docker_job_template.yml
parameters:
file: ubports/Dockerfile.arm_xenial
tag: ubports_arm_xenial
dep: linux
-
template: docker_job_template.yml
parameters:
file: windows_32_shared/Dockerfile
tag: windows_32_shared
dep:
- windows_32_shared_base
- linux
-
template: docker_job_template.yml
parameters:
file: windows_32_shared/Dockerfile.base
tag: windows_32_shared_base
-
template: docker_job_template.yml
parameters:
file: windows_32_static/Dockerfile
tag: windows_32_static
dep:
- windows_32_static_base
- linux
-
template: docker_job_template.yml
parameters:
file: windows_32_static/Dockerfile.base
tag: windows_32_static_base
-
template: docker_job_template.yml
parameters:
file: windows_64_shared/Dockerfile
tag: windows_64_shared
dep:
- windows_64_shared_base
- linux
-
template: docker_job_template.yml
parameters:
file: windows_64_shared/Dockerfile.base
tag: windows_64_shared_base
-
template: docker_job_template.yml
parameters:
file: windows_64_static/Dockerfile
tag: windows_64_static
dep:
- windows_64_static_base
- linux
-
template: docker_job_template.yml
parameters:
file: windows_64_static/Dockerfile.base
tag: windows_64_static_base
-
template: docker_job_template.yml
parameters:
file: windows_legacy/Dockerfile.32_shared
tag: windows_32_shared_legacy
dep: linux
-
template: docker_job_template.yml
parameters:
file: windows_legacy/Dockerfile.32_static
tag: windows_32_static_legacy
dep: linux
-
template: docker_job_template.yml
parameters:
file: windows_legacy/Dockerfile.64_shared
tag: windows_64_shared_legacy
dep: linux
-
template: docker_job_template.yml
parameters:
file: windows_legacy/Dockerfile.64_static
tag: windows_64_static_legacy
dep: linux
-
template: docker_job_template.yml
parameters:
file: wine/Dockerfile
tag: windows_32_shared_wine
dep: wine_base
-
template: docker_job_template.yml
parameters:
file: wine/Dockerfile.32_shared
tag: windows_32_shared_msys2
dep: wine_base
-
template: docker_job_template.yml
parameters:
file: wine/Dockerfile.32_static
tag: windows_32_static_msys2
dep: wine_base
-
template: docker_job_template.yml
parameters:
file: wine/Dockerfile.56
tag: windows_32_shared_56
dep: wine_base
-
template: docker_job_template.yml
parameters:
file: wine/Dockerfile.56_xp
tag: windows_32_shared_56_xp
dep: wine_base_xp
-
template: docker_job_template.yml
parameters:
file: wine/Dockerfile.59
tag: windows_32_shared_59
dep: wine_base
-
template: docker_job_template.yml
parameters:
file: wine/Dockerfile.64_shared
tag: windows_64_shared_msys2
dep: wine_base
-
template: docker_job_template.yml
parameters:
file: wine/Dockerfile.64_static
tag: windows_64_static_msys2
dep: wine_base
-
template: docker_job_template.yml
parameters:
file: wine/Dockerfile.base
tag: wine_base
-
template: docker_job_template.yml
parameters:
file: wine/Dockerfile.base_xp
tag: wine_base_xp

View file

@ -14,9 +14,9 @@ COPY --from=therecipe/qt:linux $GOPATH/bin $GOPATH/bin
COPY --from=therecipe/qt:linux $GOPATH/src/github.com/therecipe/qt $GOPATH/src/github.com/therecipe/qt
COPY --from=therecipe/qt:linux /opt/Qt/5.11.1/gcc_64/include /opt/Qt/5.11.1/gcc_64/include
COPY --from=therecipe/qt:linux /opt/Qt/Docs /opt/Qt/Docs
COPY --from=therecipe/qt:js_base_4 $HOME/emsdk $HOME/emsdk
COPY --from=therecipe/qt:js_base_4 $HOME/.emscripten $HOME/.emscripten
COPY --from=therecipe/qt:js_base_4 /usr/local/Qt-5.12.0 /usr/local/Qt-5.12.0
COPY --from=therecipe/qt:js_base $HOME/emsdk $HOME/emsdk
COPY --from=therecipe/qt:js_base $HOME/.emscripten $HOME/.emscripten
COPY --from=therecipe/qt:js_base /usr/local/Qt-5.12.0 /usr/local/Qt-5.12.0
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install git && apt-get -qq clean
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install python2.7 nodejs cmake default-jre && apt-get -qq clean

View file

@ -0,0 +1,50 @@
FROM ubuntu:16.04
LABEL maintainer therecipe
ENV USER user
ENV HOME /home/$USER
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install build-essential git
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install python2.7 nodejs cmake default-jre
RUN ln -s /usr/bin/python2.7 /usr/bin/python
RUN git clone https://github.com/juj/emsdk.git $HOME/emsdk && cd $HOME/emsdk && ./emsdk install latest && ./emsdk activate latest
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtbase.git /opt/qtbase
RUN echo "#!/bin/bash\nsource $HOME/emsdk/emsdk_env.sh \
&& cd /opt/qtbase && ./configure -xplatform wasm-emscripten -nomake tests -nomake examples -confirm-license -opensource && make && make install" > $HOME/build.sh \
&& chmod +x $HOME/build.sh && $HOME/build.sh
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtdeclarative.git /opt/qtdeclarative
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtwebsockets.git /opt/qtwebsockets
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtgraphicaleffects.git /opt/qtgraphicaleffects
RUN echo "#!/bin/bash\nsource $HOME/emsdk/emsdk_env.sh \
&& cd /opt/qtdeclarative && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtwebsockets && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtgraphicaleffects && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install" > $HOME/build.sh \
&& chmod +x $HOME/build.sh && $HOME/build.sh
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtquickcontrols.git /opt/qtquickcontrols
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtquickcontrols2.git /opt/qtquickcontrols2
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtsvg.git /opt/qtsvg
RUN echo "#!/bin/bash\nsource $HOME/emsdk/emsdk_env.sh \
&& cd /opt/qtquickcontrols && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtquickcontrols2 && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install\
&& cd /opt/qtsvg && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install" > $HOME/build.sh \
&& chmod +x $HOME/build.sh && $HOME/build.sh
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtcharts.git /opt/qtcharts
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtxmlpatterns.git /opt/qtxmlpatterns
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtcanvas3d.git /opt/qtcanvas3d
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtdatavis3d.git /opt/qtdatavis3d
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtmultimedia.git /opt/qtmultimedia
RUN echo "#!/bin/bash\nsource $HOME/emsdk/emsdk_env.sh \
&& cd /opt/qtcharts && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtxmlpatterns && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtcanvas3d && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtdatavis3d && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtmultimedia && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install" > $HOME/build.sh \
&& chmod +x $HOME/build.sh && $HOME/build.sh

View file

@ -1,16 +0,0 @@
FROM ubuntu:16.04
LABEL maintainer therecipe
ENV USER user
ENV HOME /home/$USER
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install build-essential git
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install python2.7 nodejs cmake default-jre
RUN ln -s /usr/bin/python2.7 /usr/bin/python
RUN git clone https://github.com/juj/emsdk.git $HOME/emsdk && cd $HOME/emsdk && ./emsdk install latest && ./emsdk activate latest
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtbase.git /opt/qtbase
RUN echo "#!/bin/bash\nsource $HOME/emsdk/emsdk_env.sh \
&& cd /opt/qtbase && ./configure -xplatform wasm-emscripten -nomake tests -nomake examples -confirm-license -opensource && make && make install" > $HOME/build.sh \
&& chmod +x $HOME/build.sh && $HOME/build.sh

View file

@ -1,12 +0,0 @@
FROM therecipe/qt:js_base_1
LABEL maintainer therecipe
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtdeclarative.git /opt/qtdeclarative
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtwebsockets.git /opt/qtwebsockets
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtgraphicaleffects.git /opt/qtgraphicaleffects
RUN echo "#!/bin/bash\nsource $HOME/emsdk/emsdk_env.sh \
&& cd /opt/qtdeclarative && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtwebsockets && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtgraphicaleffects && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install" > $HOME/build.sh \
&& chmod +x $HOME/build.sh && $HOME/build.sh

View file

@ -1,12 +0,0 @@
FROM therecipe/qt:js_base_2
LABEL maintainer therecipe
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtquickcontrols.git /opt/qtquickcontrols
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtquickcontrols2.git /opt/qtquickcontrols2
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtsvg.git /opt/qtsvg
RUN echo "#!/bin/bash\nsource $HOME/emsdk/emsdk_env.sh \
&& cd /opt/qtquickcontrols && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtquickcontrols2 && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install\
&& cd /opt/qtsvg && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install" > $HOME/build.sh \
&& chmod +x $HOME/build.sh && $HOME/build.sh

View file

@ -1,16 +0,0 @@
FROM therecipe/qt:js_base_3
LABEL maintainer therecipe
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtcharts.git /opt/qtcharts
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtxmlpatterns.git /opt/qtxmlpatterns
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtcanvas3d.git /opt/qtcanvas3d
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtdatavis3d.git /opt/qtdatavis3d
RUN git clone -b 5.12.0 https://code.qt.io/qt/qtmultimedia.git /opt/qtmultimedia
RUN echo "#!/bin/bash\nsource $HOME/emsdk/emsdk_env.sh \
&& cd /opt/qtcharts && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtxmlpatterns && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtcanvas3d && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtdatavis3d && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install \
&& cd /opt/qtmultimedia && /usr/local/Qt-5.12.0/bin/qmake *.pro && make && make install" > $HOME/build.sh \
&& chmod +x $HOME/build.sh && $HOME/build.sh

View file

@ -23,9 +23,9 @@ COPY --from=therecipe/qt:linux $GOPATH/bin $GOPATH/bin
COPY --from=therecipe/qt:linux $GOPATH/src/github.com/therecipe/qt $GOPATH/src/github.com/therecipe/qt
COPY --from=therecipe/qt:linux /opt/Qt/5.11.1/gcc_64/include /opt/Qt/5.11.1/gcc_64/include
COPY --from=therecipe/qt:linux /opt/Qt/Docs /opt/Qt/Docs
COPY --from=therecipe/qt:js_base_4 $HOME/emsdk $HOME/emsdk
COPY --from=therecipe/qt:js_base_4 $HOME/.emscripten $HOME/.emscripten
COPY --from=therecipe/qt:js_base_4 /usr/local/Qt-5.12.0 /usr/local/Qt-5.12.0
COPY --from=therecipe/qt:js_base $HOME/emsdk $HOME/emsdk
COPY --from=therecipe/qt:js_base $HOME/.emscripten $HOME/.emscripten
COPY --from=therecipe/qt:js_base /usr/local/Qt-5.12.0 /usr/local/Qt-5.12.0
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install python2.7 nodejs cmake default-jre && apt-get -qq clean
RUN ln -s /usr/bin/python2.7 /usr/bin/python

View file

@ -1,68 +0,0 @@
FROM ubuntu:16.04
LABEL maintainer therecipe
ARG SECRET
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates curl && apt-get -qq clean
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "wine_base"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_wine"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "linux"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "android"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "js_base_1"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "js_base_2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "js_base_3"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "js_base_4"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "js"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "wasm"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi_base"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi1"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "rpi3"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "sailfish"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "ubports_arm_vivid"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "ubports_64_vivid"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "ubports_arm_xenial"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "ubports_64_xenial"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_static_base_1"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_static_base_2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_static_base_3"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_static_base_4"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_static_base_5"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_static_base_6"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_static_base_7"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_static"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_base_1"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_base_2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_base_3"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_base_4"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_base_5"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_base_6"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_base_7"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_static_base_1"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_static_base_2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_static_base_3"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_static_base_4"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_static_base_5"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_static_base_6"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_static_base_7"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_static"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_shared_base_1"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_shared_base_2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_shared_base_3"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_shared_base_4"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_shared_base_5"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_shared_base_6"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
#RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_shared_base_7"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_shared"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "wine_base_xp"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_shared_msys2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_64_static_msys2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_msys2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_static_msys2"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_xp"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_56"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN sleep 120 && curl -H "Content-Type: application/json" --data '{"docker_tag": "windows_32_shared_59"}' -X POST https://registry.hub.docker.com/u/therecipe/qt/trigger/$SECRET/
RUN exit 1

View file

@ -1,2 +0,0 @@
#!/bin/bash
docker build --build-arg SECRET=$SECRET -t $IMAGE_NAME .

View file

@ -4,4 +4,5 @@ LABEL maintainer therecipe
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates git
RUN git clone https://github.com/mxe/mxe.git /usr/lib/mxe
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install autoconf automake autopoint bash bison bzip2 flex g++ g++-multilib gettext git gperf intltool libc6-dev-i386 libgdk-pixbuf2.0-dev libltdl-dev libssl-dev libtool-bin libxml-parser-perl make openssl p7zip-full patch perl pkg-config python ruby scons sed unzip wget xz-utils
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.shared' gcc gettext openssl glib lzo
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.shared' qt5 && rm -rf /usr/lib/mxe/log && rm -rf /usr/lib/mxe/pkg

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_32_shared_base_1
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.shared' icu4c bzip2 libpng freetype-bootstrap fontconfig freetds pixman cairo harfbuzz freetype jpeg cmake cmake-conf libmysqlclient pcre2 pthreads postgresql sqlite

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_32_shared_base_2
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.shared' qtbase

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_32_shared_base_3
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.shared' qtdeclarative

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_32_shared_base_4
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.shared' qt3d

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_32_shared_base_5
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.shared' qtactiveqt qtcanvas3d qtmultimedia qtcharts qtconnectivity qtdatavis3d qtgraphicaleffects jasper xz tiff lcms libmng libwebp qtimageformats qtlocation

View file

@ -1,6 +0,0 @@
FROM therecipe/qt:windows_32_shared_base_6 as base
RUN mv /usr/lib/mxe/src/qtwebkit.mk /usr/lib/mxe/src/exclude_qtwebkit.mk
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.shared' qt5
RUN mv /usr/lib/mxe/src/exclude_qtwebkit.mk /usr/lib/mxe/src/qtwebkit.mk
RUN rm -rf /usr/lib/mxe/log && rm -rf /usr/lib/mxe/pkg

View file

@ -4,4 +4,5 @@ LABEL maintainer therecipe
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates git
RUN git clone https://github.com/mxe/mxe.git /usr/lib/mxe
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install autoconf automake autopoint bash bison bzip2 flex g++ g++-multilib gettext git gperf intltool libc6-dev-i386 libgdk-pixbuf2.0-dev libltdl-dev libssl-dev libtool-bin libxml-parser-perl make openssl p7zip-full patch perl pkg-config python ruby scons sed unzip wget xz-utils
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.static' gcc gettext openssl glib lzo
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.static' qt5 && rm -rf /usr/lib/mxe/log && rm -rf /usr/lib/mxe/pkg

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_32_static_base_1
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.static' icu4c bzip2 libpng freetype-bootstrap fontconfig freetds pixman cairo harfbuzz freetype jpeg cmake cmake-conf libmysqlclient pcre2 pthreads postgresql sqlite

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_32_static_base_2
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.static' qtbase

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_32_static_base_3
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.static' qtdeclarative

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_32_static_base_4
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.static' qt3d

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_32_static_base_5
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.static' qtactiveqt qtcanvas3d qtmultimedia qtcharts qtconnectivity qtdatavis3d qtgraphicaleffects jasper xz tiff lcms libmng libwebp qtimageformats qtlocation

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_32_static_base_6 as base
RUN cd /usr/lib/mxe && make MXE_TARGETS='i686-w64-mingw32.static' qt5
RUN rm -rf /usr/lib/mxe/log && rm -rf /usr/lib/mxe/pkg

View file

@ -4,4 +4,5 @@ LABEL maintainer therecipe
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates git
RUN git clone https://github.com/mxe/mxe.git /usr/lib/mxe
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install autoconf automake autopoint bash bison bzip2 flex g++ g++-multilib gettext git gperf intltool libc6-dev-i386 libgdk-pixbuf2.0-dev libltdl-dev libssl-dev libtool-bin libxml-parser-perl make openssl p7zip-full patch perl pkg-config python ruby scons sed unzip wget xz-utils
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.shared' gcc gettext openssl glib lzo
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.shared' qt5 && rm -rf /usr/lib/mxe/log && rm -rf /usr/lib/mxe/pkg

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_64_shared_base_1
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.shared' icu4c bzip2 libpng freetype-bootstrap fontconfig freetds pixman cairo harfbuzz freetype jpeg cmake cmake-conf libmysqlclient pcre2 pthreads postgresql sqlite

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_64_shared_base_2
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.shared' qtbase

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_64_shared_base_3
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.shared' qtdeclarative

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_64_shared_base_4
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.shared' qt3d

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_64_shared_base_5
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.shared' qtactiveqt qtcanvas3d qtmultimedia qtcharts qtconnectivity qtdatavis3d qtgraphicaleffects jasper xz tiff lcms libmng libwebp qtimageformats qtlocation

View file

@ -1,6 +0,0 @@
FROM therecipe/qt:windows_64_shared_base_6 as base
RUN mv /usr/lib/mxe/src/qtwebkit.mk /usr/lib/mxe/src/exclude_qtwebkit.mk
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.shared' qt5
RUN mv /usr/lib/mxe/src/exclude_qtwebkit.mk /usr/lib/mxe/src/qtwebkit.mk
RUN rm -rf /usr/lib/mxe/log && rm -rf /usr/lib/mxe/pkg

View file

@ -4,4 +4,5 @@ LABEL maintainer therecipe
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install ca-certificates git
RUN git clone https://github.com/mxe/mxe.git /usr/lib/mxe
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install autoconf automake autopoint bash bison bzip2 flex g++ g++-multilib gettext git gperf intltool libc6-dev-i386 libgdk-pixbuf2.0-dev libltdl-dev libssl-dev libtool-bin libxml-parser-perl make openssl p7zip-full patch perl pkg-config python ruby scons sed unzip wget xz-utils
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.static' gcc gettext openssl glib lzo
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.static' qt5 && rm -rf /usr/lib/mxe/log && rm -rf /usr/lib/mxe/pkg

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_64_static_base_1
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.static' icu4c bzip2 libpng freetype-bootstrap fontconfig freetds pixman cairo harfbuzz freetype jpeg cmake cmake-conf libmysqlclient pcre2 pthreads postgresql sqlite

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_64_static_base_2
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.static' qtbase

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_64_static_base_3
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.static' qtdeclarative

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_64_static_base_4
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.static' qt3d

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_64_static_base_5
LABEL maintainer therecipe
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.static' qtactiveqt qtcanvas3d qtmultimedia qtcharts qtconnectivity qtdatavis3d qtgraphicaleffects jasper xz tiff lcms libmng libwebp qtimageformats qtlocation

View file

@ -1,4 +0,0 @@
FROM therecipe/qt:windows_64_static_base_6 as base
RUN cd /usr/lib/mxe && make MXE_TARGETS='x86_64-w64-mingw32.static' qt5
RUN rm -rf /usr/lib/mxe/log && rm -rf /usr/lib/mxe/pkg

View file

@ -106,7 +106,7 @@ RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install winehq-
RUN WINEDLLOVERRIDES="mscoree,mshtml=" wineboot && wineserver -w
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install patch && apt-get -qq clean
ADD rspfile.patch $HOME/.wine/drive_c/go/rspfile.patch
ADD https://raw.githubusercontent.com/therecipe/qt/master/internal/docker/wine/rspfile.patch $HOME/.wine/drive_c/go/rspfile.patch
RUN cd $HOME/.wine/drive_c/go && patch -p 1 < rspfile.patch
RUN wine go install cmd/go cmd/link

View file

@ -106,7 +106,7 @@ RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install winehq-
RUN WINEDLLOVERRIDES="mscoree,mshtml=" wineboot && wineserver -w
RUN apt-get -qq update && apt-get --no-install-recommends -qq -y install patch && apt-get -qq clean
ADD rspfile.patch $HOME/.wine/drive_c/go/rspfile.patch
ADD https://raw.githubusercontent.com/therecipe/qt/master/internal/docker/wine/rspfile.patch $HOME/.wine/drive_c/go/rspfile.patch
RUN cd $HOME/.wine/drive_c/go && patch -p 1 < rspfile.patch
RUN wine go install cmd/go cmd/link