aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile8
1 files changed, 4 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index fa9b58d..2450142 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -4,10 +4,10 @@ FROM base AS deps
RUN apk add -q --no-cache gcc libffi-dev make musl-dev
-FROM deps as deps-amd64
-FROM deps as deps-arm64
+FROM deps AS deps-amd64
+FROM deps AS deps-arm64
-FROM deps as deps-arm
+FROM deps AS deps-arm
# The cryptography package doesn't distribute pre-built binaries for this
# platform, which is why it's built manually (and requires extra dependencies).
@@ -21,7 +21,7 @@ RUN apk add -q --no-cache cargo git openssl-dev rust
# This is also the reason to install git as a build dependency.
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
-FROM deps-$TARGETARCH as build
+FROM deps-$TARGETARCH AS build
COPY ["requirements.txt", "/tmp/"]
RUN pip3 install -q --no-cache-dir --target=/deps -r /tmp/requirements.txt