We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
as
AS
1 parent b72eaad commit 2421a52Copy full SHA for 2421a52
Dockerfile
@@ -1,4 +1,4 @@
1
-FROM python:3.11-slim as base
+FROM python:3.11-slim AS base
2
3
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
4
@@ -20,9 +20,9 @@ RUN \
20
/var/lib/apt/lists/* \
21
/usr/src/*
22
23
-FROM base as base-amd64
24
-FROM base as base-arm64
25
-FROM base as base-armv7
+FROM base AS base-amd64
+FROM base AS base-arm64
+FROM base AS base-armv7
26
27
ENV UV_EXTRA_INDEX_URL=https://www.piwheels.org/simple
28
ENV PIP_EXTRA_INDEX_URL=https://www.piwheels.org/simple
@@ -54,7 +54,7 @@ RUN ln -s /lib/arm-linux-gnueabihf/ld-linux-armhf.so.3 /lib/ld-linux.so.3
54
ARG TARGETARCH
55
ARG TARGETVARIANT
56
57
-FROM base-${TARGETARCH}${TARGETVARIANT} as final
+FROM base-${TARGETARCH}${TARGETVARIANT} AS final
58
59
ENV UV_SYSTEM_PYTHON=true
60
0 commit comments