Skip to content

Commit

Permalink
Capitalize "AS" in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Dec 12, 2024
1 parent 97c0d58 commit 552ece3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.in
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#############################################################################
# First we prepare the image that we want, regardless of build layers.
#############################################################################
FROM {ARG_FROM} as base
FROM {ARG_FROM} AS base

# When building, we can pass a unique value (e.g. `date +%s`) for this arg,
# which will force a rebuild from here (by invalidating docker's cache).
Expand Down Expand Up @@ -72,7 +72,7 @@ RUN /stage_binaries.sh -o {ARG_STAGING} \
-f /tmp
RUN ln -s /bin/bash {ARG_STAGING}/bin/sh # Not sure why this is not set up automatically

FROM scratch as intermediate
FROM scratch AS intermediate

# Docker doesn't do vars in COPY, so we can't use a regular ARG.
COPY --from=base {ARG_STAGING} /
Expand Down

0 comments on commit 552ece3

Please sign in to comment.