mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-02-25 18:55:25 -06:00
add deadsnakes ppa for more recent python 3.11 in jetson images
This commit is contained in:
parent
f8fbc68f0d
commit
ffa0e4ef08
@ -8,10 +8,24 @@ ARG SLIM_BASE=debian:12-slim
|
||||
|
||||
FROM ${BASE_IMAGE} AS base
|
||||
|
||||
# Ensure python 3.11 is available in ubuntu-based image
|
||||
RUN if [ -e /etc/lsb-release ]; then \
|
||||
apt-get update && \
|
||||
apt-get install -y software-properties-common && \
|
||||
add-apt-repository ppa:deadsnakes/ppa; \
|
||||
fi
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} debian:12 AS base_host
|
||||
|
||||
FROM ${SLIM_BASE} AS slim-base
|
||||
|
||||
# Ensure python 3.11 is available in ubuntu-based image
|
||||
RUN if [ -e /etc/lsb-release ]; then \
|
||||
apt-get update && \
|
||||
apt-get install -y software-properties-common && \
|
||||
add-apt-repository ppa:deadsnakes/ppa; \
|
||||
fi
|
||||
|
||||
FROM slim-base AS wget
|
||||
ARG DEBIAN_FRONTEND
|
||||
RUN apt-get update \
|
||||
|
Loading…
Reference in New Issue
Block a user