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

F/node v18 #5

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/image-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release latest docker image
on:
pull_request: {}
push:
branches: [main]
branches: [f/node-v18]

jobs:
docker:
Expand All @@ -27,4 +27,4 @@ jobs:
uses: docker/build-push-action@v2
with:
push: ${{ github.event_name == 'push' }}
tags: ghcr.io/wepublish/node:latest
tags: ghcr.io/wepublish/node:18.1
34 changes: 4 additions & 30 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,32 +1,6 @@
FROM node:12.22.6-alpine
FROM node:18.19.1-alpine

LABEL maintainer="nico@wepublish.ch"
LABEL maintainer="tomasz@wepublish.ch"

RUN apk update

ARG LIBVIPS_VERSION=8.7.0
ARG LIBVIPS_SOURCE_TAR=vips-${LIBVIPS_VERSION}.tar.gz
ARG LIBVIPS_SOURCE_URL=https://github.com/libvips/libvips/releases/download/v${LIBVIPS_VERSION}/${LIBVIPS_SOURCE_TAR}

# Install build tools
RUN apk add python gcc g++ make --update-cache

# Install libvips dependencies
RUN apk add libjpeg-turbo-dev libexif-dev lcms2-dev fftw-dev giflib-dev glib-dev libpng-dev \
libwebp-dev expat-dev orc-dev tiff-dev librsvg-dev --update-cache --repository https://dl-3.alpinelinux.org/alpine/edge/testing/

# Build libvips with SVG support
RUN mkdir ./libvips \
&& cd ./libvips \
&& wget ${LIBVIPS_SOURCE_URL} \
&& tar -xzf ${LIBVIPS_SOURCE_TAR} --strip 1 \
&& ./configure \
--prefix=/usr \
--enable-debug=no \
--without-gsf \
--disable-static \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--docdir=/usr/share/doc \
&& make \
&& make install
RUN apk upgrade --update-cache --available && \
rm -rf /var/cache/apk/*
Loading