From 75b04db6b8e0601c6709c634d4cae6dcf9881af3 Mon Sep 17 00:00:00 2001 From: Rick Henry Date: Fri, 8 Nov 2024 14:35:48 +0000 Subject: [PATCH] lint: match case for 'FROM' and 'AS' in Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fb96a2c..1d3551f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3 as bookstack +FROM alpine:3 AS bookstack ENV BOOKSTACK_VERSION=24.10.1 RUN apk add --no-cache curl tar RUN set -x; \ @@ -7,7 +7,7 @@ RUN set -x; \ && tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \ && rm bookstack.tar.gz -FROM php:8.3-apache-bookworm as final +FROM php:8.3-apache-bookworm AS final RUN set -x; \ apt-get update \ && apt-get install -y --no-install-recommends \