etherpad: install stuff to install sqlite3 in the main docker container directly.... ugh.

This commit is contained in:
Starbeamrainbowlabs 2021-03-17 03:10:17 +00:00
parent b709b36864
commit 0f42f37ee1
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -7,7 +7,7 @@ FROM ${REPO_LOCATION}minideb-node AS builder
# It's important we checkout a specific commit, otherwise etherpad checks out the latest from develop O.o
ARG COMMIT=b99c2cae22f35a0c0831e2fef0719f115b486bd9
RUN install_packages git ca-certificates python3 make gcc g++ libc-dev libc++-dev
RUN install_packages git ca-certificates
RUN mkdir -p /srv \
&& git clone --branch master https://github.com/ether/etherpad-lite.git /srv/etherpad \
@ -24,6 +24,7 @@ ENV PYTHON /usr/bin/python3
RUN mkdir -p /.npm && chown -R 70:70 /.npm /srv/etherpad
RUN cd /srv/etherpad \
&& install_packages python3 make gcc g++ libc-dev libc++-dev \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& src/bin/installDeps.sh \
&& npm install sqlite3 \