Skip to content

Commit

Permalink
Add arm64 for ubuntu 22.04 and 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
chileung-b4b committed Sep 11, 2024
1 parent a29aa7d commit 8e80f6d
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ bin/wkhtmltopdf_ubuntu_20.04_amd64
bin/wkhtmltopdf_ubuntu_20.04_arm64
bin/wkhtmltopdf_ubuntu_21.10_amd64
bin/wkhtmltopdf_ubuntu_22.04_amd64
bin/wkhtmltopdf_ubuntu_22.04_arm64
Binary file added bin/wkhtmltopdf_ubuntu_22.04_arm64.gz
Binary file not shown.
14 changes: 14 additions & 0 deletions docker-compose-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,17 @@ services:
dockerfile: .docker/Dockerfile-debian_12_arm
volumes:
- .:/root/wkhtmltopdf_binary_gem

ubuntu_22.04:
build:
context: .
dockerfile: .docker/Dockerfile-ubuntu_22.04
volumes:
- .:/root/wkhtmltopdf_binary_gem

ubuntu_24.04:
build:
context: .
dockerfile: .docker/Dockerfile-ubuntu_24.04
volumes:
- .:/root/wkhtmltopdf_binary_gem
6 changes: 3 additions & 3 deletions test/test_with_docker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ def test_with_ubuntu_20
end

def test_with_ubuntu_22
test_on_x86 with: 'ubuntu_22.04'
test_on_x86_and_arm with: 'ubuntu_22.04'
end

def test_with_ubuntu_24
test_on_x86 with: 'ubuntu_24.04'
end
test_on_x86_and_arm with: 'ubuntu_24.04'
end

def test_with_archlinux
test_on_x86 with: 'archlinux'
Expand Down

0 comments on commit 8e80f6d

Please sign in to comment.