@@ -2,10 +2,10 @@ ARG PG_VERSION
22ARG PYTHON_VERSION
33
44# --------------------------------------------- base1
5- FROM postgres:$ {PG_VERSION}-alpine as base1
5+ FROM postgres:$ {PG_VERSION}-alpine AS base1
66
77# --------------------------------------------- base2_with_python-3
8- FROM base1 as base2_with_python-3
8+ FROM base1 AS base2_with_python-3
99ENV PYTHON_BINARY= python3
1010RUN apk add --no-cache curl python3 python3-dev build-base musl-dev linux-headers
1111
@@ -22,43 +22,43 @@ RUN apk add sqlite-dev
2222RUN apk add bzip2-dev
2323
2424# --------------------------------------------- base3_with_python-3.7
25- FROM base2_with_python-3 as base3_with_python-3.7
25+ FROM base2_with_python-3 AS base3_with_python-3.7
2626ENV PYTHON_VERSION= 3.7
2727
2828# --------------------------------------------- base3_with_python-3.8.0
29- FROM base2_with_python-3 as base3_with_python-3.8.0
29+ FROM base2_with_python-3 AS base3_with_python-3.8.0
3030ENV PYTHON_VERSION= 3.8.0
3131
3232# --------------------------------------------- base3_with_python-3.8
33- FROM base2_with_python-3 as base3_with_python-3.8
33+ FROM base2_with_python-3 AS base3_with_python-3.8
3434ENV PYTHON_VERSION= 3.8
3535
3636# --------------------------------------------- base3_with_python-3.9
37- FROM base2_with_python-3 as base3_with_python-3.9
37+ FROM base2_with_python-3 AS base3_with_python-3.9
3838ENV PYTHON_VERSION= 3.9
3939
4040# --------------------------------------------- base3_with_python-3.10
41- FROM base2_with_python-3 as base3_with_python-3.10
41+ FROM base2_with_python-3 AS base3_with_python-3.10
4242ENV PYTHON_VERSION= 3.10
4343
4444# --------------------------------------------- base3_with_python-3.11
45- FROM base2_with_python-3 as base3_with_python-3.11
45+ FROM base2_with_python-3 AS base3_with_python-3.11
4646ENV PYTHON_VERSION= 3.11
4747
4848# --------------------------------------------- base3_with_python-3.12
49- FROM base2_with_python-3 as base3_with_python-3.12
49+ FROM base2_with_python-3 AS base3_with_python-3.12
5050ENV PYTHON_VERSION= 3.12
5151
5252# --------------------------------------------- base3_with_python-3.13
53- FROM base2_with_python-3 as base3_with_python-3.13
53+ FROM base2_with_python-3 AS base3_with_python-3.13
5454ENV PYTHON_VERSION= 3.13
5555
5656# --------------------------------------------- base3_with_python-3.14
57- FROM base2_with_python-3 as base3_with_python-3.14
57+ FROM base2_with_python-3 AS base3_with_python-3.14
5858ENV PYTHON_VERSION= 3.14
5959
6060# --------------------------------------------- final
61- FROM base3_with_python-$ {PYTHON_VERSION} as final
61+ FROM base3_with_python-$ {PYTHON_VERSION} AS final
6262
6363#RUN apk add --no-cache mc
6464
0 commit comments