This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e91e5e3
commit a66b297
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |