diff --git a/Dockerfile b/Dockerfile index eff87f9..40ecc4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,11 +19,6 @@ RUN apt-get update && apt-get install -y \ zlib1g-dev \ libjpeg-dev -RUN curl --output /usr/share/keyrings/nginx-keyring.gpg https://unit.nginx.org/keys/nginx-keyring.gpg && \ - echo "deb [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ focal unit" > /etc/apt/sources.list.d/unit.list && \ - echo "deb-src [signed-by=/usr/share/keyrings/nginx-keyring.gpg] https://packages.nginx.org/unit/ubuntu/ focal unit" >> /etc/apt/sources.list.d/unit.list -RUN apt-get -y update && apt-get -y install unit - EXPOSE 5000 ARG tag=master @@ -93,5 +88,4 @@ COPY start.py / COPY runklipper.py / COPY start.sh / COPY printer.cfg / -COPY unitconfig.json / CMD bash /start.sh diff --git a/start.sh b/start.sh index cce11e9..b7722dd 100644 --- a/start.sh +++ b/start.sh @@ -1,11 +1,5 @@ #Copy over Initial Printer Config cp -n /printer.cfg /home/octoprint/.octoprint/printer.cfg -#Start Unit -unitd --no-daemon --control unix:/var/run/control-unit.sock & - -#Apply Primary Full Configuration -curl -X PUT --data-binary @/unitconfig.json --unix-socket /var/run/control-unit.sock http://localhost/config - #Start OctoPrint and Klipper python3 /start.py \ No newline at end of file