mirror of
https://github.com/markqvist/Sideband.git
synced 2025-08-09 06:52:35 -04:00
Merge 9502c53762
into 1054ddf1c4
This commit is contained in:
commit
0327f56221
3 changed files with 50 additions and 0 deletions
0
.dockerignore
Normal file
0
.dockerignore
Normal file
31
Dockerfile
Normal file
31
Dockerfile
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
FROM python:alpine
|
||||||
|
LABEL authors="Petr Blaha petr.blaha@cleverdata.cz"
|
||||||
|
USER root
|
||||||
|
RUN apk update
|
||||||
|
RUN apk add sdl2_ttf sdl2 build-base libc-dev pkgconfig gstreamer sdl2_mixer sdl2_image sdl2_pango linux-headers mesa-dev py3-virtualenv
|
||||||
|
|
||||||
|
RUN addgroup -S myuser && adduser -S -G myuser myuser
|
||||||
|
USER myuser
|
||||||
|
WORKDIR /home/myuser
|
||||||
|
|
||||||
|
RUN pip install --upgrade pip
|
||||||
|
|
||||||
|
|
||||||
|
ENV PATH="/home/myuser/.local/bin:${PATH}"
|
||||||
|
|
||||||
|
################### BEGIN Sideband ###########################################
|
||||||
|
|
||||||
|
COPY --chown=myuser:myuser requirements.txt requirements.txt
|
||||||
|
|
||||||
|
RUN pip install --user -r requirements.txt
|
||||||
|
|
||||||
|
|
||||||
|
COPY --chown=myuser:myuser . .
|
||||||
|
|
||||||
|
#Python create virtual environment
|
||||||
|
RUN virtualenv /home/myuser/sbapp/venv
|
||||||
|
RUN source /home/myuser/sbapp/venv/bin/activate
|
||||||
|
|
||||||
|
RUN make release
|
||||||
|
|
||||||
|
################### END Sideband ###########################################
|
19
requirements.txt
Normal file
19
requirements.txt
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
certifi==2023.7.22
|
||||||
|
charset-normalizer==3.2.0
|
||||||
|
docopt==0.6.2
|
||||||
|
idna==3.4
|
||||||
|
pipreqs==0.4.13
|
||||||
|
requests==2.31.0
|
||||||
|
urllib3==2.0.4
|
||||||
|
yarg==0.1.9
|
||||||
|
cryptography
|
||||||
|
cffi
|
||||||
|
pycparser
|
||||||
|
kivy==2.2.1
|
||||||
|
pygments
|
||||||
|
pillow
|
||||||
|
qrcode==7.3.1
|
||||||
|
netifaces
|
||||||
|
pydenticon
|
||||||
|
usb4a
|
||||||
|
usbserial4a
|
Loading…
Add table
Add a link
Reference in a new issue