Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#473 Qemu upgrading #499

Merged
merged 12 commits into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/actions-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: CD

on:
push:
branches:
- master
pull_request:
# push:
# branches:
# - master

permissions:
contents: write
Expand Down Expand Up @@ -121,8 +122,12 @@ jobs:
name: native-image-source
path: ./build/artifacts/native-image-source/

- name: Configure Qemu
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
- name: Latest Qemu binaries (8.2x)
run: |
docker-compose -f docker-compose-qemu.yaml build --progress=plain

- name: Configure Qemu With Docker
run: docker run --rm --privileged defreitas/qemu-user-static --reset -p yes

- name: Linux Arm Release
run: |
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.builder.linux-aarch64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM arm64v8/debian:11-slim
FROM arm64v8/debian:12

RUN apt-get update -y &&\
apt-get install --force-yes -y build-essential curl &&\
Expand Down
3 changes: 3 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 3.22.0
* #473: Qemu upgrade

## 3.21.3
* #496: Fixing aarch binary not building

Expand Down
6 changes: 6 additions & 0 deletions docker-compose-qemu.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: '3'
services:
qemu_8:
image: defreitas/qemu-user-static:latest
build:
context: src/main/docker/qemu
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=3.21.3-snapshot
version=3.22.0-snapshot
9 changes: 9 additions & 0 deletions src/main/docker/qemu/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM multiarch/qemu-user-static:latest@sha256:fe60359c92e86a43cc87b3d906006245f77bfc0565676b80004cc666e4feb9f0

RUN wget "http://ftp.de.debian.org/debian/pool/main/q/qemu/qemu-user-static_8.2.5+ds-1_amd64.deb"
RUN mkdir releases &&\
dpkg-deb -X qemu-user-static_*.deb releases &&\
echo "copying " &&\
tree releases/usr/bin &&\
cp -f releases/usr/bin/* /usr/bin/

Loading