Skip to content

Commit

Permalink
up docker
Browse files Browse the repository at this point in the history
  • Loading branch information
XdoctorwhoZ committed Nov 26, 2023
1 parent 24ae428 commit e5cc380
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 9 deletions.
8 changes: 2 additions & 6 deletions platform/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ FROM ubuntu:22.04

# Attach to the repository
LABEL org.opencontainers.image.source https://github.com/Panduza/panduza-py
# Argument
ARG PZA_PY_PLATFORM_MODE

# Install Packages
RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Europe/Paris \
apt-get -y install \
Expand All @@ -18,9 +17,6 @@ RUN apt-get -y install libusb-1.0-0
COPY requirements.txt /setup/requirements.txt
RUN pip3 install -r /setup/requirements.txt

# Repos clone
RUN echo $PZA_PY_PLATFORM_MODE

# Create the mirror directory
RUN mkdir -p /etc/panduza

Expand All @@ -40,4 +36,4 @@ WORKDIR /work
# Then run the platform
CMD mkdir -p /etc/panduza/plugins/py; \
python3 /usr/local/lib/python3.10/dist-packages/panduza_platform/__main__.py

Empty file.
Empty file.
2 changes: 0 additions & 2 deletions platform/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
aardvark-py==5.30
colorama==0.4.6
paho-mqtt==1.6.1
pyftdi==0.54.0
Expand All @@ -7,7 +6,6 @@ pyserial==3.5
pyudev==0.24.0
pyusb==1.2.1
PyHamcrest==2.0.4
pyserial-asyncio==0.6
aiofiles==23.2.1
aiomonitor==0.6.0
aioserial==1.3.1
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion platform/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def run(self):
'PyHamcrest',
'grako',
'aiofiles==23.2.1',
'aiomonitor',
'aiomonitor==0.6.0',
'aioserial==1.3.1'
],

Expand Down

0 comments on commit e5cc380

Please sign in to comment.