mirror of
https://github.com/matatonic/openedai-speech
synced 2025-06-26 18:16:32 +00:00
== =
This commit is contained in:
parent
b671aef6ba
commit
55c2176099
@ -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/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user