simonknittel/aws-nextjs-examples

Download oauth2-proxy in builder

Closed this issue · 1 comments

nning commented

It seems, /tmp/oauth2-proxy-v$OAUTH2_PROXY_VERSION.linux-amd64.tar.gz ends up in the Docker image, right?

https://github.com/simonknittel/nextjs-oauth2-proxy-aws-app-runner/blob/9b8c82895869a7d15e3cb81586ffb69d665496e7/app/Dockerfile#L44

Download and extraction could be done in the "builder" stage.

Oh, you are right. Thanks for the hint :)