Initial commit
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM ubuntu:jammy
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV TZ=Europe/Moscow
|
||||
|
||||
ADD docker-entrypoint.sh /software/entrypoint.sh
|
||||
ADD plextraktsync.sh /software/plextraktsync.sh
|
||||
|
||||
RUN \
|
||||
apt update && \
|
||||
apt install -y apt apt-utils && \
|
||||
apt upgrade -y && \
|
||||
apt install -y tini python3 python3-pip python3-venv python-is-python3 pipx nano curl wget && \
|
||||
apt autoremove --purge -y && apt clean -y && rm-rf /tmp/* && \
|
||||
pipx install plextraktsync && \
|
||||
chmod +x /software/*.sh
|
||||
|
||||
STOPSIGNAL SIGINT
|
||||
ENTRYPOINT [ "tini", "--" ]
|
||||
CMD ["bash", "/software/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user