From b9c79df39b383207b4417324515151cd9b1bc539 Mon Sep 17 00:00:00 2001 From: Saugat Acharya Date: Fri, 9 Feb 2024 12:04:43 +0545 Subject: [PATCH] Update arch suffix for amd64 platform --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba104cb..e0ea055 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # STAGE: base # ----------- # The main image that is published. -FROM python:3.11.8-slim-bookworm AS base +FROM python:3.11-slim-bookworm AS base ARG TARGETPLATFORM @@ -9,10 +9,9 @@ COPY requirements.txt . RUN \ ARCH=$(case ${TARGETPLATFORM:-linux/amd64} in \ - "linux/amd64") echo "x86-64" ;; \ - "linux/arm/v7") echo "armhf" ;; \ - "linux/arm64") echo "aarch64" ;; \ - *) echo "" ;; esac) && \ + "linux/amd64") echo "x86-64bit" ;; \ + "linux/arm64") echo "aarch64" ;; \ + *) echo "" ;; esac) && \ echo "ARCH=$ARCH" && \ # Install build dependencies apt-get update && \