Skip to content

Commit e07f867

Browse files
update
1 parent f5f9a5e commit e07f867

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/qt5_6.yml

+1-1
Original file line numberDiff line numberDiff 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

debian-armv6

+2-5
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ LABEL maintainer="Hyperion Project <[email protected]>" \
2323
ARG 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)
2929
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
7979
# set qemu exec flag
8080
RUN 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" ]

fedora

+6-3
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,13 @@ RUN rpmdev-setuptree
8282

8383
# download qemu and set exec flag
8484
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; \
8686
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; \
8888
fi
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" ]

ubuntu_debian

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ENV DEBEMAIL="[email protected]"
2929
ARG 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
128128
RUN 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" ]

0 commit comments

Comments
 (0)