From 2539c04aefb6810e90b8b0588ed307dcd6b9cb32 Mon Sep 17 00:00:00 2001 From: Lennart Fleischmann Date: Wed, 6 Nov 2024 14:43:49 +0100 Subject: [PATCH] ci: adjust dockerfile FROM commands This change hopefully satisfies GitHub's check warnings for Dockerfiles ("The 'as' keyword should match the case of the 'from' keyword"). --- frontend/Dockerfile | 2 +- frontend/Dockerfile.debug | 2 +- quickstart/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 217086be1..67d295465 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM node:18.14-alpine as build +FROM --platform=$BUILDPLATFORM node:18.14-alpine AS build RUN apk add --no-cache libc6-compat RUN apk update diff --git a/frontend/Dockerfile.debug b/frontend/Dockerfile.debug index 73b7c23ce..ccf95a74d 100644 --- a/frontend/Dockerfile.debug +++ b/frontend/Dockerfile.debug @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM node:18.14-alpine as build +FROM --platform=$BUILDPLATFORM node:18.14-alpine AS build RUN apk add --no-cache libc6-compat RUN apk update diff --git a/quickstart/Dockerfile b/quickstart/Dockerfile index 043cf0b82..2ffa9ed53 100644 --- a/quickstart/Dockerfile +++ b/quickstart/Dockerfile @@ -1,5 +1,5 @@ # Build the quickstart binary -FROM --platform=$BUILDPLATFORM golang:1.20 as builder +FROM --platform=$BUILDPLATFORM golang:1.20 AS builder ARG TARGETARCH