From e11c5822aaf12b342127af6154f7e638c6d4dd06 Mon Sep 17 00:00:00 2001 From: Dan Hemberger <846186+hemberger@users.noreply.github.com> Date: Wed, 28 Aug 2024 01:01:51 -0700 Subject: [PATCH] Fix Dockerfile build check from GitHub Actions (#1907) > 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/ --- Dockerfile | 2 +- api-docs/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d6bde3ef9..d05fc4c04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:alpine as builder +FROM node:alpine AS builder WORKDIR /smr/ diff --git a/api-docs/Dockerfile b/api-docs/Dockerfile index 0f981daf9..cacbd9605 100644 --- a/api-docs/Dockerfile +++ b/api-docs/Dockerfile @@ -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