Skip to content

Commit

Permalink
Revert 4/alpine to Node 12, Alpine 3.12
Browse files Browse the repository at this point in the history
refs docker-library#256
- node:14-alpine3.13 has an issue where the underlying sharp image library causes a segfault
- node:12-alpine3.12 doesn't appear to have this problem, so we'll use it for now
  • Loading branch information
acburdine committed Apr 29, 2021
1 parent 325f2b3 commit e5aa51a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 4/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# https://docs.ghost.org/faq/node-versions/
# https://github.com/nodejs/Release (looking for "LTS")
# https://github.com/TryGhost/Ghost/blob/v4.1.2/package.json#L38
FROM node:14-alpine3.13
# TODO: node 14 on alpine 3.13 has an issue with sharp/image resizing
# see: https://github.com/docker-library/ghost/issues/256
# sticking to Node 12 until the underlying sharp issue is resolved
FROM node:12-alpine3.12

# grab su-exec for easy step-down from root
RUN apk add --no-cache 'su-exec>=0.2'
Expand Down

0 comments on commit e5aa51a

Please sign in to comment.