From a66b297eda29e147783063178865647bcbef0d98 Mon Sep 17 00:00:00 2001 From: XdoctorwhoZ Date: Mon, 27 Nov 2023 13:45:09 +0100 Subject: [PATCH] up --- platform/tests/Dockerfile | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 platform/tests/Dockerfile diff --git a/platform/tests/Dockerfile b/platform/tests/Dockerfile new file mode 100644 index 0000000..0d42f0b --- /dev/null +++ b/platform/tests/Dockerfile @@ -0,0 +1,30 @@ +FROM ubuntu:22.04 + +# Attach to the repository +LABEL org.opencontainers.image.source https://github.com/Panduza/panduza-py + +# Install Packages +RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Europe/Paris \ + apt-get -y install \ + python3 python3-pip \ + git + +# Pip installations +# COPY requirements.txt /setup/requirements.txt +# RUN python3 -m pip install -r /setup/requirements.txt + +# # Install platform inside +# WORKDIR /setup +# COPY . /setup/ +# RUN python3 -m pip install . + +# Allow plugin insertion here +# ENV PYTHONPATH="/etc/panduza/plugins/py" + +# +WORKDIR /work + +# Create the directory for platform plugins +# Then run the platform +# CMD mkdir -p /etc/panduza/plugins/py; \ +# python3 /usr/local/lib/python3.10/dist-packages/panduza_platform/__main__.py