Skip to content

Commit

Permalink
Capitalize "AS" keyword in Dockerfile FROM instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal authored and umputun committed Nov 8, 2024
1 parent 7604548 commit 73ca4a1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ RUN \
echo 'Skip frontend build'; \
fi

FROM umputun/baseimage:buildgo-v1.14.0 as build-backend
FROM umputun/baseimage:buildgo-v1.14.0 AS build-backend

ARG CI
ARG GITHUB_REF
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.artifacts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ WORKDIR /srv/frontend/apps/remark42/
COPY ./frontend/apps/remark42/ /srv/frontend/apps/remark42/
RUN pnpm build

FROM umputun/baseimage:buildgo-v1.14.0 as build-backend
FROM umputun/baseimage:buildgo-v1.14.0 AS build-backend

ARG GITHUB_TOKEN
ARG GITHUB_REF
Expand Down
2 changes: 1 addition & 1 deletion backend/_example/memory_store/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM umputun/baseimage:buildgo-v1.14.0 as build-backend
FROM umputun/baseimage:buildgo-v1.14.0 AS build-backend

ADD backend /build/backend
WORKDIR /build/backend/_example/memory_store
Expand Down
2 changes: 1 addition & 1 deletion site/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine as build
FROM node:20-alpine AS build

WORKDIR /site
COPY ./ /site
Expand Down
2 changes: 1 addition & 1 deletion site/Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine as build
FROM node:20-alpine AS build

WORKDIR /site
COPY ./ /site
Expand Down

0 comments on commit 73ca4a1

Please sign in to comment.