Skip to content

Commit

Permalink
Ensure FROM/AS keywords use the same casing
Browse files Browse the repository at this point in the history
This resolves the following warning from Docker when building the
image:
FromAsCasing: 'as' and 'FROM' keywords' casing do not match

Co-authored-by: Shane Frasier <[email protected]>
  • Loading branch information
mcdonnnj and jsf9k committed Dec 6, 2024
1 parent a1ece8f commit fd69f45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Official Docker images are in the form library/<app> while non-official
# images are in the form <user>/<app>.
FROM docker.io/library/python:3.13.1-alpine3.20 as compile-stage
FROM docker.io/library/python:3.13.1-alpine3.20 AS compile-stage

###
# Unprivileged user variables
Expand Down Expand Up @@ -53,7 +53,7 @@ RUN pipenv check --verbose \

# Official Docker images are in the form library/<app> while non-official
# images are in the form <user>/<app>.
FROM docker.io/library/python:3.13.1-alpine3.20 as build-stage
FROM docker.io/library/python:3.13.1-alpine3.20 AS build-stage

###
# For a list of pre-defined annotation keys and value types see:
Expand Down

0 comments on commit fd69f45

Please sign in to comment.