mirror of
https://github.com/flobz/psa_car_controller.git
synced 2026-08-21 08:56:29 +00:00
ci: fix 2
This commit is contained in:
+4
-6
@@ -1,18 +1,16 @@
|
||||
ARG PYTHON_DEP='python3 python3-wheel python3-typing-extensions python3-pandas python3-six python3-dateutil python3-brotli python3-pycryptodome libatlas3-base python3-cryptography python3-scipy androguard python3-flask python3-paho-mqtt python3-ruamel.yaml ca-certificates python3-numpy'
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
FROM debian:bullseye-slim AS builder
|
||||
FROM debian:bookworm-slim AS builder
|
||||
ARG PSACC_VERSION="0.0.0"
|
||||
ARG PYTHON_DEP
|
||||
RUN BUILD_DEP='python3-pip python3-setuptools python3-dev libblas-dev liblapack-dev gfortran libffi-dev libxml2-dev libxslt1-dev make automake gcc g++ subversion ninja-build' ; \
|
||||
apt-get update && apt-get install -y --no-install-recommends $BUILD_DEP $PYTHON_DEP;
|
||||
RUN pip3 install --upgrade pip wheel setuptools && \
|
||||
mkdir psa-car-controller && \
|
||||
pip3 install poetry
|
||||
RUN pip3 install --break-system-packages --upgrade pip wheel setuptools
|
||||
COPY ./dist/psa_car_controller-${PSACC_VERSION}-py3-none-any.whl .
|
||||
RUN pip3 install --no-cache-dir psa_car_controller-${PSACC_VERSION}-py3-none-any.whl
|
||||
RUN pip3 install --break-system-packages --no-cache-dir psa_car_controller-${PSACC_VERSION}-py3-none-any.whl
|
||||
EXPOSE 5000
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
FROM debian:bookworm-slim
|
||||
ARG PYTHON_DEP
|
||||
WORKDIR /config
|
||||
ENV PSACC_BASE_PATH=/ PSACC_PORT=5000 PSACC_OPTIONS="-c -r --web-conf" PSACC_CONFIG_DIR="/config" PYTHONPATH="/app"
|
||||
|
||||
Reference in New Issue
Block a user