Skip to content

Commit

Permalink
Fix Dockerfile build check from GitHub Actions (#1907)
Browse files Browse the repository at this point in the history
> The 'as' keyword should match the case of the 'from' keyword
> FromAsCasing: 'as' and 'FROM' keywords' casing do not match
> More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
  • Loading branch information
hemberger authored Aug 28, 2024
1 parent 751ea49 commit e11c582
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:alpine as builder
FROM node:alpine AS builder

WORKDIR /smr/

Expand Down
2 changes: 1 addition & 1 deletion api-docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3.8-cli-alpine as builder
FROM php:8.3.8-cli-alpine AS builder

RUN curl -L -O https://github.com/phpDocumentor/phpDocumentor/releases/download/v3.5.0/phpDocumentor.phar
RUN chmod +x phpDocumentor.phar
Expand Down

0 comments on commit e11c582

Please sign in to comment.