Skip to content

Instantly share code, notes, and snippets.

@mhart
Created December 1, 2020 16:42
Show Gist options
  • Save mhart/7d1eecd409aa4fcb1d4f343392885001 to your computer and use it in GitHub Desktop.
Save mhart/7d1eecd409aa4fcb1d4f343392885001 to your computer and use it in GitHub Desktop.
FROM alpine:3.12 AS rie-image
RUN apk add --no-cache curl && \
cd / && \
curl -sSL -O https://github.com/aws/aws-lambda-runtime-interface-emulator/releases/download/v1.0/aws-lambda-rie && \
chmod +x /aws-lambda-rie
FROM pdf2png
COPY --from=rie-image /aws-lambda-rie /usr/local/bin/
ENTRYPOINT ["aws-lambda-rie", "/app/main"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment