From 55c21760999fd9e7b447aa34db49161e006aa60a Mon Sep 17 00:00:00 2001 From: matatonic Date: Sun, 23 Jun 2024 12:59:42 -0400 Subject: [PATCH] == = --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3737586..3810ee8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,8 @@ FROM python:3.11-slim ARG TARGETPLATFORM TARGETARCH RUN apt-get update && apt-get install --no-install-recommends -y curl ffmpeg -RUN if [ $TARGEARCH == 'arm64' ]; then apt-get install --no-install-recommends -y build-essential ; fi -RUN if [ $TARGEARCH == 'arm64' ]; then curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y ; fi +RUN if [ $TARGEARCH = 'arm64' ]; then apt-get install --no-install-recommends -y build-essential ; fi +RUN if [ $TARGEARCH = 'arm64' ]; then curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y ; fi ENV PATH="/root/.cargo/bin:${PATH}" RUN apt-get clean && rm -rf /var/lib/apt/lists/*