Skip to content
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
8 changes: 8 additions & 0 deletions .docker/Dockerfile-debian_13
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM debian:13

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
2 changes: 2 additions & 0 deletions bin/wkhtmltopdf
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ suffix = case RbConfig::CONFIG['host_os']

os = 'debian_12' if !os_based_on_debian_9 && os.start_with?('debian_12')

os = 'debian_12' if !os_based_on_debian_9 && os.start_with?('debian_13')

os = 'archlinux' if os.start_with?('arch_') ||
os.start_with?('manjaro_')

Expand Down
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
version: '3'

services:

ubuntu_16.04:
build:
context: .
Expand Down Expand Up @@ -58,6 +57,13 @@ services:
volumes:
- .:/root/wkhtmltopdf_binary_gem

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

centos_6:
build:
context: .
Expand Down
4 changes: 4 additions & 0 deletions test/test_with_docker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ def test_debian_12
test_on_x86_and_arm with: 'debian_12'
end

def test_debian_13
test_on_x86 with: 'debian_13'
end

def test_with_ubuntu_16
test_on_x86 with: 'ubuntu_16.04'
end
Expand Down
Loading