Skip to content

Commit

Permalink
feat(alpine): update to node 14
Browse files Browse the repository at this point in the history
closes #256
- sharp's issue has been fixed, node 14 doesn't cause segfaults on alpine anymore
  • Loading branch information
acburdine committed Jul 8, 2021
1 parent 6558fd3 commit 454c138
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions 4/alpine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# 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
# 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
FROM node:14-alpine3.13

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

0 comments on commit 454c138

Please sign in to comment.