Skip to content

Commit

Permalink
Dockerfiles: make keyword case consistent (#714)
Browse files Browse the repository at this point in the history
Resolves warnings:

    - FromAsCasing: 'as' and 'FROM' keywords' casing do not match
  • Loading branch information
alxndrsn authored Sep 19, 2024
1 parent c368667 commit 4f69fcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nginx.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20.12.2-slim as intermediate
FROM node:20.12.2-slim AS intermediate

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
Expand Down
4 changes: 2 additions & 2 deletions service.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG node_version=20.12.2



FROM node:${node_version}-slim as pgdg
FROM node:${node_version}-slim AS pgdg
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
Expand All @@ -17,7 +17,7 @@ RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ $(grep -oP 'VERSION_CODEN



FROM node:${node_version}-slim as intermediate
FROM node:${node_version}-slim AS intermediate
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
git \
Expand Down

0 comments on commit 4f69fcc

Please sign in to comment.