Skip to content

Commit 75b04db

Browse files
committed
lint: match case for 'FROM' and 'AS' in Dockerfile
1 parent ee8a645 commit 75b04db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3 as bookstack
1+
FROM alpine:3 AS bookstack
22
ENV BOOKSTACK_VERSION=24.10.1
33
RUN apk add --no-cache curl tar
44
RUN set -x; \
@@ -7,7 +7,7 @@ RUN set -x; \
77
&& tar xvf bookstack.tar.gz -C /bookstack --strip-components=1 \
88
&& rm bookstack.tar.gz
99

10-
FROM php:8.3-apache-bookworm as final
10+
FROM php:8.3-apache-bookworm AS final
1111
RUN set -x; \
1212
apt-get update \
1313
&& apt-get install -y --no-install-recommends \

0 commit comments

Comments
 (0)