etherpad: update to add dependencies etc

Ref 
https://github.com/ether/etherpad-lite/issues/4962#issuecomment-867112330
This commit is contained in:
Starbeamrainbowlabs 2021-06-25 22:20:27 +01:00
parent 643715d4dd
commit 53eba84b4f
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 2 additions and 3 deletions

View File

@ -21,7 +21,6 @@ FROM ${REPO_LOCATION}minideb
COPY --from=builder /srv/etherpad /srv/etherpad
COPY settings.json /srv/etherpad/
ENV PYTHON /usr/bin/python3
ENV NVM_DIR /root/.nvm
ENV NODE_VERSION lts/erbium
@ -40,10 +39,10 @@ RUN mkdir -p /.npm \
&& nvm alias default $NODE_VERSION \
&& nvm use default \
&& cd /srv/etherpad \
&& install_packages python3 make gcc g++ libc-dev libc++-dev \
&& install_packages python3 make sqlite3 libsqlite3-dev gcc g++ libc-dev libc++-dev \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& src/bin/installDeps.sh \
&& npm install sqlite3 \
&& cd src && npm install sqlite3 && cd .. \
&& rm -rf /srv/etherpad/.git /.npm/_cacache \
&& chown -R 70:70 /.npm /srv/etherpad