From d88a4100cf9e300d8f495ce3fe24179025559415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=28Kusalananda=29=20K=C3=A4h=C3=A4ri?= Date: Fri, 6 Sep 2024 15:39:20 +0200 Subject: [PATCH] chore: Uppercase "AS" in "FROM ... AS ..." in Dockerfile Found by @pdmnyberg --- node/Dockerfile | 2 +- production/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/node/Dockerfile b/node/Dockerfile index 35914850..eff552e2 100644 --- a/node/Dockerfile +++ b/node/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20.3.0-alpine as build +FROM node:20.3.0-alpine AS build USER node RUN mkdir /home/node/app diff --git a/production/Dockerfile b/production/Dockerfile index 4a09d630..72977914 100644 --- a/production/Dockerfile +++ b/production/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.23-alpine3.20 as builder +FROM golang:1.23-alpine3.20 AS builder RUN addgroup -S urdr && getent group urdr >/tmp/group RUN adduser -S urdr && getent passwd urdr >/tmp/passwd