Skip to content

Commit

Permalink
Fix casing for FROM/AS
Browse files Browse the repository at this point in the history
  • Loading branch information
kberzinch committed Nov 23, 2024
1 parent 26ead56 commit a124541
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax = docker/dockerfile:1.11

FROM scratch as backend-source
FROM scratch AS backend-source

COPY --link app/ /app/app/
COPY --link bootstrap/ /app/bootstrap/
Expand All @@ -13,7 +13,7 @@ COPY --link routes/ /app/routes/
COPY --link storage/ /app/storage/
COPY --link artisan composer.json composer.lock /app/

FROM ubuntu:noble as backend-uncompressed
FROM ubuntu:noble AS backend-uncompressed

LABEL maintainer="[email protected]"

Expand Down Expand Up @@ -60,7 +60,7 @@ RUN --mount=type=secret,id=composer_auth,dst=/app/auth.json,uid=33,gid=33,requir

# This target is the default, but skipped during pull request builds and in our recommended local build invocation
# precompressed_assets var on the Nomad job must match whether this stage ran or not
FROM backend-uncompressed as backend-compressed
FROM backend-uncompressed AS backend-compressed

RUN set -eux && \
cd /app/public/ && \
Expand Down

0 comments on commit a124541

Please sign in to comment.