Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker image #6

Open
koppor opened this issue Apr 18, 2021 · 0 comments
Open

Docker image #6

koppor opened this issue Apr 18, 2021 · 0 comments

Comments

@koppor
Copy link

koppor commented Apr 18, 2021

I would like to have a recent docker image at hand with @rbrito's additions in there.

I started with the following file (inspired by https://github.com/pts/pdfsizeopt/blob/master/extra/debian/control)

FROM debian:stable-20210408-slim

ENV LANG=C.UTF-8 \
    LC_ALL=C.UTF-8 \
    TERM=dumb

RUN apt-get update && \
    apt-get install -y python2 ghostscript png22pnm sam2p jbig2enc multivalent pngout && \
    # save some space
    rm -rf /var/lib/apt/lists/* && apt-get clean

However, I fail:

#6 6.033 E: Unable to locate package png22pnm
#6 6.033 E: Unable to locate package sam2p
#6 6.033 E: Unable to locate package jbig2enc
#6 6.033 E: Unable to locate package multivalent
#6 6.033 E: Unable to locate package pngout

Is it possible to provide a hint with packages to install to use a "good" compression? I saw cf8fc1c using zopfli.

I would use the "official" image , but it does a) not contain the latest additions and b) I hit pts#114 (comment) in my rather minimal file (WIP at gi-ev/LNI-proceedings#13).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant