-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
16 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,20 @@ | ||
FROM ruby:2.4.6-slim-buster as main-image | ||
MAINTAINER Sebastian Silva <[email protected]> | ||
# Debian base | ||
FROM debian:buster | ||
|
||
FROM python:2.7 as gdal-builder | ||
MAINTAINER Sebastian Silva <[email protected]> | ||
|
||
# Install the application. | ||
RUN apt-get update -qq && \ | ||
apt-get install -y --no-install-recommends \ | ||
gdal-bin \ | ||
python-gdal | ||
|
||
FROM main-image | ||
|
||
COPY --from=gdal-builder /usr/share /usr/share | ||
COPY --from=gdal-builder /usr/bin /usr/bin | ||
|
||
RUN apt-get update -qq && \ | ||
apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
git \ | ||
imagemagick | ||
apt-get install -y \ | ||
gdal-bin \ | ||
ruby \ | ||
zlib1g-dev \ | ||
imagemagick \ | ||
ruby-sinatra \ | ||
ruby-kramdown \ | ||
ruby-nokogiri \ | ||
bundler \ | ||
python-gdal | ||
|
||
# Configure ImageMagick | ||
COPY ./nolimit.xml /etc/ImageMagick-6/policy.xml | ||
|
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