Skip to content

Commit c49d3e3

Browse files
Dockerfile is updated (FROM...AS...) (#10)
This patch fixes a warning of "docker build": WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line xxx)
1 parent 5ad901d commit c49d3e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile--alpine.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
ARG PYTHON_VERSION
22

33
# --------------------------------------------- base1
4-
FROM python:${PYTHON_VERSION}-alpine as base1
4+
FROM python:${PYTHON_VERSION}-alpine AS base1
55

66
# --------------------------------------------- base1
7-
FROM base1 as base2
7+
FROM base1 AS base2
88

99
# --------------------------------------------- final
10-
FROM base2 as final
10+
FROM base2 AS final
1111

1212
RUN apk add bash
1313

0 commit comments

Comments
 (0)