Skip to content

Commit

Permalink
lint: match case for 'FROM' and 'AS' in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rjhenry committed Nov 8, 2024
1 parent ee8a645 commit 75b04db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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; \
Expand All @@ -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 \
Expand Down

0 comments on commit 75b04db

Please sign in to comment.