Skip to content

Commit f445856

Browse files
committed
cleaning docker warning
fixing WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 3) WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 65)
1 parent d1ba1e4 commit f445856

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG BUILDIMG=registry.access.redhat.com/ubi9
22
ARG RUNIMG=registry.access.redhat.com/ubi9-micro
3-
FROM ${BUILDIMG} as buildimg
3+
FROM ${BUILDIMG} AS buildimg
44

55
ARG INSTALL_TOOLS=no
66

@@ -62,7 +62,7 @@ EXPOSE 8080
6262

6363
# ---------------------------------------
6464
# runtime image with only necessary stuff
65-
FROM ${RUNIMG} as runtimeimg
65+
FROM ${RUNIMG} AS runtimeimg
6666

6767
# create insights user
6868
RUN echo "insights:x:1000:1000::/go:/bin/bash" >>/etc/passwd && \

0 commit comments

Comments
 (0)