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

Set default magick limits #174

Merged
merged 2 commits into from
Nov 13, 2018
Merged

Set default magick limits #174

merged 2 commits into from
Nov 13, 2018

Conversation

timbrandin
Copy link
Contributor

@timbrandin timbrandin commented Nov 10, 2018

Imagemagick defaults in policy.xml are not enabled, I've added so we enable relevant settings through environment as a default.

http://www.imagemagick.org/script/resources.php#environment

related: #172

@codecov
Copy link

codecov bot commented Nov 10, 2018

Codecov Report

Merging #174 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #174   +/-   ##
=======================================
  Coverage   97.55%   97.55%           
=======================================
  Files          85       85           
  Lines        1268     1268           
  Branches      181      181           
=======================================
  Hits         1237     1237           
  Misses         30       30           
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6ee707a...5c3d744. Read the comment docs.

Copy link
Contributor

@ericwenn ericwenn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!
According to Docker documentation each ENV instruction creates a new layer in the image so we should declare all of this variables in one command (see https://stackoverflow.com/a/45529293/1642401).

@ericwenn ericwenn merged commit ee8b2d4 into master Nov 13, 2018
@ericwenn ericwenn deleted the bugfix/set-default-magick-limit branch November 13, 2018 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants