Skip to content

Commit

Permalink
ci: add qemu
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Sep 20, 2024
1 parent 59c100d commit e9d6a3a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docker-debain-trixie-aarch64.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Push Docker Image
name: Build and Push debian-trixie-aarch64 Docker Image

on:
push:
Expand All @@ -9,7 +9,7 @@ on:
workflow_dispatch:
jobs:
build:
name: Build and Push debian-trixie-aarch64 Docker Image
name: Build
runs-on: ubuntu-latest

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-docker-debain-trixie-armhf.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Push Docker Image
name: Build and Push debian-trixie-armhf Docker Image

on:
push:
Expand All @@ -9,7 +9,7 @@ on:
workflow_dispatch:
jobs:
build:
name: Build and Push debian-trixie-armhf Docker Image
name: Build
runs-on: ubuntu-latest

steps:
Expand Down
5 changes: 5 additions & 0 deletions docker/debian-trixie/aarch64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ RUN apt-get update && \
file && \
rm -rf /var/lib/apt/lists/*

# Install qemu-user-static and register binfmt handlers
RUN apt-get update && \
apt-get install -y --no-install-recommends qemu-user-static binfmt-support && \
rm -rf /var/lib/apt/lists/*

RUN dpkg --add-architecture arm64 && \
apt-get update && apt-get install --assume-yes --no-install-recommends -f \
libwebkit2gtk-4.1-dev:arm64 \
Expand Down
5 changes: 5 additions & 0 deletions docker/debian-trixie/armhf/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ RUN apt-get update && \
file && \
rm -rf /var/lib/apt/lists/*

# Install qemu-user-static and register binfmt handlers
RUN apt-get update && \
apt-get install -y --no-install-recommends qemu-user-static binfmt-support && \
rm -rf /var/lib/apt/lists/*

RUN dpkg --add-architecture armhf && \
apt-get update && apt-get install --assume-yes --no-install-recommends -f \
libwebkit2gtk-4.1-dev:armhf \
Expand Down

0 comments on commit e9d6a3a

Please sign in to comment.