forked from zakird/wkhtmltopdf_binary_gem
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for x386 debian 11/12, amd64 debian 11/12, arm64 debian9/…
…10/11/12 with test - Added binaries for x386 debian 11/12, amd64 debian 11/12, arm64 debian9/10/11 and made them available for testing on GitHub Actions - Since we can't select arm64 platform in GitHub Actions on github.com, use [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) to virtually realize testing on arm64. - It was difficult to use the same docker-compose.yml and Dockerfile for x86 and arm64, so create docker-compose.yml and Dockerfile for arm64 version. - Since we are using docker to test on x86 ubuntu, we don't need multiple versions of Ruby on ubuntu, so we only use one version of Ruby. - Fixed a bug that the order of arguments of `assert_equal` method was reversed. - Loosened conditions for passing the test - Only 0.12.6.1 binaries are available under newer distributions such as debian11, so make the tests pass. - Add Ruby 3.2 to CI matrix - Fix a broken archlinux test - Fix an error that the libssl library could not be found - update github actions
- Loading branch information
Showing
22 changed files
with
204 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM --platform=arm64 debian:10 | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y ruby libjpeg62-turbo libpng16-16 libxrender1 libfontconfig1 libxext6 | ||
|
||
CMD /root/wkhtmltopdf_binary_gem/bin/wkhtmltopdf --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM debian:11 | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y ruby libjpeg62-turbo libpng16-16 libxrender1 libfontconfig1 libxext6 | ||
|
||
CMD /root/wkhtmltopdf_binary_gem/bin/wkhtmltopdf --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM --platform=arm64 debian:11 | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y ruby libjpeg62-turbo libpng16-16 libxrender1 libfontconfig1 libxext6 | ||
|
||
CMD /root/wkhtmltopdf_binary_gem/bin/wkhtmltopdf --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM debian:12 | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y ruby libjpeg62-turbo libpng16-16 libxrender1 libfontconfig1 libxext6 | ||
|
||
CMD /root/wkhtmltopdf_binary_gem/bin/wkhtmltopdf --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM --platform=arm64 debian:12 | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y ruby libjpeg62-turbo libpng16-16 libxrender1 libfontconfig1 libxext6 | ||
|
||
CMD /root/wkhtmltopdf_binary_gem/bin/wkhtmltopdf --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM --platform=arm64 debian:9 | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update | ||
RUN apt-get install -y ruby libjpeg62-turbo libpng16-16 libxrender1 libfontconfig1 libxext6 | ||
|
||
CMD /root/wkhtmltopdf_binary_gem/bin/wkhtmltopdf --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
version: '3' | ||
|
||
services: | ||
debian_9: | ||
build: | ||
context: . | ||
dockerfile: .docker/Dockerfile-debian_9_arm | ||
volumes: | ||
- .:/root/wkhtmltopdf_binary_gem | ||
|
||
debian_10: | ||
build: | ||
context: . | ||
dockerfile: .docker/Dockerfile-debian_10_arm | ||
volumes: | ||
- .:/root/wkhtmltopdf_binary_gem | ||
|
||
debian_11: | ||
build: | ||
context: . | ||
dockerfile: .docker/Dockerfile-debian_11_arm | ||
volumes: | ||
- .:/root/wkhtmltopdf_binary_gem | ||
|
||
debian_12: | ||
build: | ||
context: . | ||
dockerfile: .docker/Dockerfile-debian_12_arm | ||
volumes: | ||
- .:/root/wkhtmltopdf_binary_gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters