File tree 4 files changed +11
-11
lines changed
4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ jobs:
106
106
merge :
107
107
name : 👷 Merge and 🚀 Push
108
108
needs : build_and_push
109
- runs-on : ubuntu-latest
109
+ runs-on : ubuntu-22.04
110
110
env :
111
111
TAG : ${{ inputs.qt_version == '6' && format('{0}-qt6', inputs.codename) || inputs.codename }}
112
112
Original file line number Diff line number Diff line change 23
23
ARG DEBIAN_FRONTEND=noninteractive
24
24
25
25
# update
26
- RUN apt-get update && apt-get -y upgrade
26
+ RUN apt-get update
27
27
28
28
# install qt5 or qt6 (qt6 is not available on debian buster/bullseye)
29
29
RUN 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
79
79
# set qemu exec flag
80
80
RUN chmod +x /usr/bin/qemu-static
81
81
82
- # cleanup
83
- RUN apt-get clean -q -y && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
84
-
85
82
# 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
82
82
83
83
# download qemu and set exec flag
84
84
RUN 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; \
86
86
else \
87
- printf '#!/bin/bash\nexec "$@"' > /usr/bin/qemu-static && chmod +x /usr/bin/qemu-static ; \
87
+ printf '#!/bin/bash\nexec "$@"' > /usr/bin/qemu-static; \
88
88
fi
89
89
90
+ # set qemu exec flag
91
+ RUN chmod +x /usr/bin/qemu-static
92
+
90
93
# 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 29
29
ARG DEBIAN_FRONTEND=noninteractive
30
30
31
31
# update
32
- RUN apt-get update && apt-get -y upgrade
32
+ RUN apt-get update
33
33
34
34
# install qt5 or qt6 (qt6 is not available on ubuntu focal and debian buster)
35
35
# on debian bullseye add backports to install qt6
@@ -128,4 +128,4 @@ RUN chmod +x /usr/bin/qemu-static
128
128
RUN apt-get clean -q -y && apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
129
129
130
130
# 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