Skip to content

Commit

Permalink
Merge branch 'master' into 176_fix_for_linux_mint_22
Browse files Browse the repository at this point in the history
  • Loading branch information
unixmonkey authored Aug 26, 2024
2 parents f1b025b + 9a9ce3d commit d1a614a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .docker/Dockerfile-ubuntu_24.04
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM ubuntu:24.04

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update
RUN apt-get install -y ruby libjpeg8 libxrender1 libfontconfig1

CMD /root/wkhtmltopdf_binary_gem/bin/wkhtmltopdf --version
1 change: 1 addition & 0 deletions bin/wkhtmltopdf
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ suffix = case RbConfig::CONFIG['host_os']
os.start_with?('linuxmint_21.')

os = 'ubuntu_22.04' if os.start_with?('ubuntu_22.') ||
os.start_with?('ubuntu_24.') ||
os.start_with?('tuxedo_22.') ||
os.start_with?('linuxmint_22')

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 @@ -57,6 +57,10 @@ def test_with_ubuntu_22
test_on_x86 with: 'ubuntu_22.04'
end

def test_with_ubuntu_24
test_on_x86 with: 'ubuntu_24.04'
end

def test_with_archlinux
test_on_x86 with: 'archlinux'
end
Expand Down

0 comments on commit d1a614a

Please sign in to comment.