Skip to content

Commit

Permalink
Fix FromAsCasing
Browse files Browse the repository at this point in the history
Docker complains about FROM ${NGINX_FROM_IMAGE} as builder because `'as' and 'FROM' keywords' casing do not match` [info](https://docs.docker.com/reference/build-checks/from-as-casing/).

Super simple fix. Absolutely a minor fix, but it's one less warning.
  • Loading branch information
TCNOco authored Dec 22, 2024
1 parent 767c5b4 commit 26de2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG NGINX_FROM_IMAGE=nginx:mainline
FROM ${NGINX_FROM_IMAGE} as builder
FROM ${NGINX_FROM_IMAGE} AS builder

ARG ENABLED_MODULES

Expand Down

0 comments on commit 26de2e6

Please sign in to comment.