github.com/iron-io/functions@v0.0.0-20180820112432-d59d7d1c40b2/examples/image_processing/s3upload/Dockerfile (about) 1 FROM iron/ruby:dev 2 RUN apk --no-cache --update add imagemagick 3 4 COPY ./ /func 5 WORKDIR /func 6 7 RUN gem install bundler --no-ri --no-rdoc 8 RUN bundle 9 10 ENV AWS_ACCESS_KEY_ID {add your id here} 11 ENV AWS_SECRET_ACCESS_KEY {add your key here} 12 ENV AWS_S3_BUCKET iron-functions-image-resize 13 ENV AWS_REGION us-east-1 14 15 ENTRYPOINT bundle exec ruby func.rb