-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from 3v0k4/libvips
Add support for vips
- Loading branch information
Showing
35 changed files
with
390 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
FROM ruby:3.3 | ||
|
||
ARG IMAGE_MAGICK_VERSION=7.1.1-33 | ||
|
||
# throw errors if Gemfile has been modified since Gemfile.lock | ||
RUN bundle config --global frozen 1 | ||
|
||
RUN apt remove --purge -y "*imagemagick*" && \ | ||
apt autoremove --purge -y | ||
RUN apt-get update && apt-get install -y \ | ||
checkinstall && \ | ||
rm -rf /var/lib/apt/lists/* | ||
RUN t=$(mktemp) && \ | ||
wget 'https://dist.1-2.dev/imei.sh' -qO "$t" && \ | ||
bash "$t" --checkinstall --imagemagick-version=$IMAGE_MAGICK_VERSION && \ | ||
rm "$t" | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
inkscape \ | ||
libvips \ | ||
libvips-tools && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /usr/src/app | ||
|
||
COPY lib/favicon_factory/version.rb ./lib/favicon_factory/version.rb | ||
COPY favicon_factory.gemspec Gemfile Gemfile.lock . | ||
RUN bundle install | ||
|
||
COPY . . | ||
|
||
CMD ["bin/console"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.