-
Notifications
You must be signed in to change notification settings - Fork 9
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
The vips text
action is missing
#3
Comments
https://github.com/jcupitt/docker-builds/blob/a440d14220eb7457217de752731b437e6a3caa58/ruby-vips-alpine/Dockerfile#L39 says I need In configure there is the line
maybe it is the library that is needed? |
Seems like text rendering needs all of this: |
So looks like it needs only RUN set -x -o pipefail \
&& wget -O- https://github.com/libvips/libvips/releases/download/v${VIPS_VERSION}/vips-${VIPS_VERSION}.tar.gz | tar xzC /tmp \
&& apk add glib libpng orc pango \
&& apk add --virtual vips-dependencies \
build-base libpng-dev orc-dev \
pango-dev msttcorefonts-installer \
&& cd /tmp/vips-${VIPS_VERSION} \
&& ./configure --prefix=/usr \
--disable-static \
--disable-debug \
--disable-dependency-tracking \
--enable-silent-rules \
&& make -s install-strip \
&& update-ms-fonts \
&& cd $OLDPWD \
&& rm -rf /tmp/vips-${VIPS_VERSION} \
&& apk del --purge vips-dependencies \
&& rm -rf /var/cache/apk/* |
Thanks for looking into it. I'm too busy to update the image right now, but I'll try to look into it the next time I update the image. |
@Nakilon I pushed a new image I didn't add any fonts, so you would have to add a line to install them to your own Dockerfile: FROM felixbuenemann/vips-alpine:8.9
RUN set -x \
&& apk add --no-cache msttcorefonts-installer \
&& update-ms-fonts \
&& fc-cache -f \
&& apk del --no-cache --purge msttcorefonts-installer Since the installer and its dependencies are removed, this will only add about 8 MiB to your image. |
The text was updated successfully, but these errors were encountered: