Skip to content

Commit

Permalink
Rails Dockerfile template: include libvips
Browse files Browse the repository at this point in the history
Rails [includes this](https://github.com/rails/rails/pull/46991/files#diff-a83245368df35c610a37260d0a51041de89211857d47cfd0b2d1301a11709164R527) if Active Storage is enabled. I don't know if there's a way fly can know that, but it seems better to assume it is and install the package since in most cases it will be (and advanced users can remove it from the Dockerfile).
  • Loading branch information
ghiculescu authored Jan 18, 2023
1 parent ed66e2a commit 6c41445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scanner/templates/rails/standard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ RUN npm install

FROM base

ARG DEPLOY_PACKAGES="postgresql-client file vim curl gzip libsqlite3-0"
ARG DEPLOY_PACKAGES="postgresql-client file vim curl gzip libsqlite3-0 libvips"
ENV DEPLOY_PACKAGES=${DEPLOY_PACKAGES}

RUN --mount=type=cache,id=prod-apt-cache,sharing=locked,target=/var/cache/apt \
Expand Down

0 comments on commit 6c41445

Please sign in to comment.