File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106106 merge :
107107 name : 👷 Merge and 🚀 Push
108108 needs : build_and_push
109- runs-on : ubuntu-latest
109+ runs-on : ubuntu-22.04
110110 env :
111111 TAG : ${{ inputs.qt_version == '6' && format('{0}-qt6', inputs.codename) || inputs.codename }}
112112
Original file line number Diff line number Diff line change 2323ARG DEBIAN_FRONTEND=noninteractive
2424
2525# update
26- RUN apt-get update && apt-get -y upgrade
26+ RUN apt-get update
2727
2828# install qt5 or qt6 (qt6 is not available on debian buster/bullseye)
2929RUN if [ "$SUITE" = "bookworm" ] && [ "$QT_VERSION" = "6" ]; then \
@@ -79,8 +79,5 @@ RUN curl -kL https://github.com/balena-io/qemu/releases/download/v7.0.0%2Bbalena
7979# set qemu exec flag
8080RUN chmod +x /usr/bin/qemu-static
8181
82- # cleanup
83- RUN apt-get clean -q -y && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
84-
8582# set entrypoint
86- ENTRYPOINT [ "/usr/bin/qemu-static" ]
83+ ENTRYPOINT [ "/usr/bin/qemu-static", "/usr/bin/env", "QEMU_EXECVE=1" ]
Original file line number Diff line number Diff line change @@ -82,10 +82,13 @@ RUN rpmdev-setuptree
8282
8383# download qemu and set exec flag
8484RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \
85- curl -kL https://github.com/balena-io/qemu/releases/download/v7.0.0%2Bbalena1/qemu-7.0.0.balena1-aarch64.tar.gz | tar zxvf - -C . --strip-components 1 && mv qemu-aarch64-static /usr/bin/qemu-static && chmod +x /usr/bin/qemu-static ; \
85+ curl -kL https://github.com/balena-io/qemu/releases/download/v7.0.0%2Bbalena1/qemu-7.0.0.balena1-aarch64.tar.gz | tar zxvf - -C . --strip-components 1 && mv qemu-aarch64-static /usr/bin/qemu-static; \
8686else \
87- printf '#!/bin/bash\nexec "$@"' > /usr/bin/qemu-static && chmod +x /usr/bin/qemu-static ; \
87+ printf '#!/bin/bash\nexec "$@"' > /usr/bin/qemu-static; \
8888fi
8989
90+ # set qemu exec flag
91+ RUN chmod +x /usr/bin/qemu-static
92+
9093# set entrypoint
91- ENTRYPOINT [ "/usr/bin/qemu-static" ]
94+ ENTRYPOINT [ "/usr/bin/qemu-static", "/usr/bin/env", "QEMU_EXECVE=1" ]
Original file line number Diff line number Diff line change 2929ARG DEBIAN_FRONTEND=noninteractive
3030
3131# update
32- RUN apt-get update && apt-get -y upgrade
32+ RUN apt-get update
3333
3434# install qt5 or qt6 (qt6 is not available on ubuntu focal and debian buster)
3535# on debian bullseye add backports to install qt6
@@ -128,4 +128,4 @@ RUN chmod +x /usr/bin/qemu-static
128128RUN apt-get clean -q -y && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
129129
130130# set entrypoint
131- ENTRYPOINT [ "/usr/bin/qemu-static" ]
131+ ENTRYPOINT [ "/usr/bin/qemu-static", "/usr/bin/env", "QEMU_EXECVE=1" ]
You can’t perform that action at this time.
0 commit comments