From c3354a0fc45bad71322995dab33b0e72a4ef4115 Mon Sep 17 00:00:00 2001 From: seanauff Date: Mon, 30 Nov 2020 14:44:26 -0500 Subject: [PATCH] update to ubunto 20.04 --- Dockerfile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0cb9b4e..41c198f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,22 +1,21 @@ -FROM ubuntu:18.04 +FROM ubuntu:20.04 ARG DEBIAN_FRONTEND=noninteractive ENV TZ=America/New_York RUN apt-get update && apt-get install -y \ cmake \ + libjpeg8-dev \ g++ \ wget \ unzip \ - psmisc \ git \ + python2 \ + virtualenv \ + python3-dev \ python3-virtualenv \ - libffi-dev \ - build-essential \ - tzdata \ - zlib1g-dev \ - libjpeg-dev - + tzdata + EXPOSE 5000 ARG tag=master @@ -72,6 +71,9 @@ USER octoprint WORKDIR /home/octoprint +# Update the install script for Ubuntu 20 +RUN sed -i 's/python-virtualenv //' ./klipper/scripts/install-ubuntu-18.04.sh + RUN git clone https://github.com/KevinOConnor/klipper RUN ./klipper/scripts/install-ubuntu-18.04.sh