File tree Expand file tree Collapse file tree 7 files changed +27
-7
lines changed
pose-estimator-with-flask Expand file tree Collapse file tree 7 files changed +27
-7
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
3- ARG UBUNTU_VERSION=22 .04
3+ ARG UBUNTU_VERSION=24 .04
44
55FROM arm64v8/ubuntu:${UBUNTU_VERSION}
66
Original file line number Diff line number Diff line change 33ARG RUNTIME_VERSION=2.0.0
44ARG REPO=axisecp
55ARG IMAGE=acap-runtime
6- ARG UBUNTU_VERSION=22 .04
6+ ARG UBUNTU_VERSION=24 .04
77
88FROM ${REPO}/${IMAGE}:${RUNTIME_VERSION}-protofiles AS proto-image
99FROM arm64v8/ubuntu:${UBUNTU_VERSION} AS runtime-image
@@ -12,6 +12,7 @@ RUN DEBIAN_FRONTEND=noninteractive \
1212 apt-get update && apt-get install -y --no-install-recommends \
1313 python3 \
1414 python3-pip \
15+ python3-venv \
1516 ffmpeg \
1617 libsm6 \
1718 libxext6 \
@@ -20,6 +21,9 @@ RUN DEBIAN_FRONTEND=noninteractive \
2021# Copy list of grpc dependencies
2122COPY --from=proto-image /build/requirements.txt .
2223
24+ # Create a virtual environment for installations using pip
25+ RUN python3 -m venv /opt/venv
26+ ENV PATH="/opt/venv/bin:$PATH"
2327RUN pip install --no-cache-dir -r requirements.txt \
2428 numpy \
2529 opencv-python
Original file line number Diff line number Diff line change 33ARG RUNTIME_VERSION=2.0.0
44ARG REPO=axisecp
55ARG IMAGE=acap-runtime
6- ARG UBUNTU_VERSION=22 .04
6+ ARG UBUNTU_VERSION=24 .04
77
88FROM ${REPO}/${IMAGE}:${RUNTIME_VERSION}-protofiles AS proto-image
99FROM arm64v8/ubuntu:${UBUNTU_VERSION} AS runtime-image
@@ -12,6 +12,7 @@ RUN DEBIAN_FRONTEND=noninteractive \
1212 apt-get update && apt-get install -y --no-install-recommends \
1313 python3 \
1414 python3-pip \
15+ python3-venv \
1516 ffmpeg \
1617 libsm6 \
1718 libxext6 \
@@ -20,6 +21,9 @@ RUN DEBIAN_FRONTEND=noninteractive \
2021# Copy list of grpc dependencies
2122COPY --from=proto-image /build/requirements.txt .
2223
24+ # Create a virtual environment for installations using pip
25+ RUN python3 -m venv /opt/venv
26+ ENV PATH="/opt/venv/bin:$PATH"
2327RUN pip install --no-cache-dir -r requirements.txt \
2428 numpy \
2529 opencv-python
Original file line number Diff line number Diff line change 33ARG RUNTIME_VERSION=2.0.0
44ARG REPO=axisecp
55ARG IMAGE=acap-runtime
6- ARG UBUNTU_VERSION=22 .04
6+ ARG UBUNTU_VERSION=24 .04
77
88FROM ${REPO}/${IMAGE}:${RUNTIME_VERSION}-protofiles AS proto-image
99FROM arm64v8/ubuntu:${UBUNTU_VERSION} AS runtime-image
@@ -12,6 +12,7 @@ RUN DEBIAN_FRONTEND=noninteractive \
1212 apt-get update && apt-get install -y --no-install-recommends \
1313 python3 \
1414 python3-pip \
15+ python3-venv \
1516 ffmpeg \
1617 libsm6 \
1718 libxext6 \
@@ -20,6 +21,9 @@ RUN DEBIAN_FRONTEND=noninteractive \
2021# Copy list of grpc dependencies
2122COPY --from=proto-image /build/requirements.txt .
2223
24+ # Create a virtual environment for installations using pip
25+ RUN python3 -m venv /opt/venv
26+ ENV PATH="/opt/venv/bin:$PATH"
2327RUN pip install --no-cache-dir -r requirements.txt \
2428 numpy \
2529 opencv-python
Original file line number Diff line number Diff line change 33ARG RUNTIME_VERSION=2.0.0
44ARG REPO=axisecp
55ARG IMAGE=acap-runtime
6- ARG UBUNTU_VERSION=22 .04
6+ ARG UBUNTU_VERSION=24 .04
77
88FROM ${REPO}/${IMAGE}:${RUNTIME_VERSION}-protofiles AS proto-image
99FROM arm64v8/ubuntu:${UBUNTU_VERSION} AS runtime-image
@@ -12,6 +12,7 @@ RUN DEBIAN_FRONTEND=noninteractive \
1212 apt-get update && apt-get install -y --no-install-recommends \
1313 python3 \
1414 python3-pip \
15+ python3-venv \
1516 ca-certificates \
1617 && rm -rf /var/lib/apt/lists/*
1718
@@ -21,6 +22,9 @@ RUN openssl req -x509 -batch -subj '/CN=localhost' -days 365 -newkey rsa:4096 -n
2122# Copy list of grpc dependencies
2223COPY --from=proto-image /build/requirements.txt .
2324
25+ # Create a virtual environment for installations using pip
26+ RUN python3 -m venv /opt/venv
27+ ENV PATH="/opt/venv/bin:$PATH"
2428RUN pip install --no-cache-dir -r requirements.txt
2529
2630WORKDIR /opt/app
Original file line number Diff line number Diff line change 33ARG RUNTIME_VERSION=2.0.0
44ARG REPO=axisecp
55ARG IMAGE=acap-runtime
6- ARG UBUNTU_VERSION=22 .04
6+ ARG UBUNTU_VERSION=24 .04
77
88FROM ${REPO}/${IMAGE}:${RUNTIME_VERSION}-protofiles AS proto-image
99FROM arm64v8/ubuntu:${UBUNTU_VERSION} AS runtime-image
@@ -12,6 +12,7 @@ RUN DEBIAN_FRONTEND=noninteractive \
1212 apt-get update && apt-get install -y --no-install-recommends \
1313 python3 \
1414 python3-pip \
15+ python3-venv \
1516 ffmpeg \
1617 libsm6 \
1718 libxext6 \
@@ -20,6 +21,9 @@ RUN DEBIAN_FRONTEND=noninteractive \
2021# Copy list of grpc dependencies
2122COPY --from=proto-image /build/requirements.txt .
2223
24+ # Create a virtual environment for installations using pip
25+ RUN python3 -m venv /opt/venv
26+ ENV PATH="/opt/venv/bin:$PATH"
2327RUN pip install --no-cache-dir -r requirements.txt \
2428 numpy \
2529 opencv-python \
Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
3- ARG UBUNTU_VERSION=22 .04
3+ ARG UBUNTU_VERSION=24 .04
44
55FROM arm64v8/ubuntu:${UBUNTU_VERSION} as runtime-image
66
You can’t perform that action at this time.
0 commit comments