Page MenuHomeDevCentral

Update Node version for Etherpad image
Closed, ResolvedPublic

Description

The image is still under Debian Jessie.

Etherpad requires a more recent version than Debian Jessie provides. It still works (excepted for some admin features), but would be nice to upgrade anyway to respect recommended versions.

Event Timeline

dereckson triaged this task as Normal priority.Sep 10 2018, 10:24
dereckson created this task.

The following seems to work:

FROM debian:stretch

RUN apt-get update && \
apt-get install -y curl unzip mysql-client git sudo python libssl-dev pkg-config build-essential  mysql-client && \
curl -sL https://deb.nodesource.com/setup_9.x | bash && \
apt-get install -y nodejs && \
rm -r /var/lib/apt/lists/*

It installs Node from Nodesource, so we can select the version we wish.