Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile for 2.0 #3185

Open
3 tasks
benfrancis opened this issue Dec 18, 2024 · 1 comment
Open
3 tasks

Update Dockerfile for 2.0 #3185

benfrancis opened this issue Dec 18, 2024 · 1 comment
Labels
Milestone

Comments

@benfrancis
Copy link
Member

  • Upgrade FROM node:12-buster-slim to node:20-bookworm-slim to upgrade Node.js and the base OS version
  • Add libdbus-1-dev package
  • Upgrade Python?
@benfrancis benfrancis added this to the 2.0 milestone Dec 18, 2024
@benfrancis
Copy link
Member Author

I made a start on this but I haven't quite got it working yet...

diff --git a/Dockerfile b/Dockerfile
index 21a5e24c..7cf2a4fb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,9 @@
-FROM node:12-buster-slim
+FROM node:20-bookworm-slim
 
 EXPOSE 8080 4443
 
 ARG DEBIAN_FRONTEND=noninteractive
 RUN set -x && \
-    echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list && \
     apt update && \
     apt dist-upgrade -y && \
     apt install -y \
@@ -15,6 +14,7 @@ RUN set -x && \
         git \
         iputils-ping \
         libcap2-bin \
+        libdbus-1-dev \
         libffi-dev \
         libnss-mdns \
         libpng-dev \
@@ -22,12 +22,13 @@ RUN set -x && \
         lsb-release \
         mosquitto \
         net-tools \
+        pipx \
         pkg-config \
-        python \
-        python-six \
         python3 \
         python3-pip \
         python3-setuptools \
+        python3-six \
+        python-is-python3 \
         sudo \
         zlib1g-dev && \
:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant