nginxinc/docker-nginx-amplify

is newer nginx version possible?

acurvers opened this issue · 2 comments

i see Nginx 1.13 is used, can newer / latest be used or is there a reason for 1.13?

thanks in advance!

To build image with new version of nginx you can just bump number in Dockerfile to version you want

  • FROM nginx:1.21.6

Or you can

  • adopt ARG in Dockerfile as per FIX: BASE_IMAGE as ARG
  • and then specify nginx version as argument in build command as
    docker build --build-arg BASE_IMAGE=nginx:1.21.6 .
f1dz commented

@acurvers This issue should be close