Migrate to Alpine, use Alpine's ImageMagick packages, add ImageMagick security policy, update Ruby version and a few gems
Compare changes
- Pascal Ernster authored
Migrate to Alpine-based image and use Alpine's imagemagick packages instead of compiling an outdated imagemagick version on our own. Also, use a more restrictive policy.xml for ImageMagick to reduce potential attack surface. Note: This also requires migrating from /bin/bash to /bin/sh, which we have done earlier.
Conflict: This file was modified in both the source and target branches.
Ask someone with write access to resolve it.
+ 12
− 38
@@ -6,56 +6,29 @@ ARG DERIVATIVES_PATH
@@ -73,7 +46,6 @@ RUN mkdir -p $CACHE_PATH
@@ -87,6 +59,8 @@ RUN if [ "$RAILS_ENV" = "production" ]; then \