add shutdown via sshpass or net rpc, also improve wake and other things

This commit is contained in:
Maxi Quoß
2022-03-11 01:27:47 +01:00
parent bcba3f4bf2
commit 396df428c2
12 changed files with 288 additions and 156 deletions

View File

@@ -24,7 +24,7 @@ WORKDIR /app
ENV PYTHONUNBUFFERED 1
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update &&\
apt-get install -y --no-install-recommends default-mysql-client nodejs npm iputils-ping nmap &&\
apt-get install -y --no-install-recommends default-mysql-client nodejs npm iputils-ping nmap samba-common sshpass &&\
apt-get clean &&\
rm -rf /var/lib/{apt,dpkg,cache,log}/
COPY --from=python-build /opt/venv /opt/venv