etherpad: update to add dependencies etc
Ref https://github.com/ether/etherpad-lite/issues/4962#issuecomment-867112330
This commit is contained in:
parent
643715d4dd
commit
53eba84b4f
1 changed files with 2 additions and 3 deletions
|
@ -21,7 +21,6 @@ FROM ${REPO_LOCATION}minideb
|
||||||
|
|
||||||
COPY --from=builder /srv/etherpad /srv/etherpad
|
COPY --from=builder /srv/etherpad /srv/etherpad
|
||||||
COPY settings.json /srv/etherpad/
|
COPY settings.json /srv/etherpad/
|
||||||
ENV PYTHON /usr/bin/python3
|
|
||||||
|
|
||||||
ENV NVM_DIR /root/.nvm
|
ENV NVM_DIR /root/.nvm
|
||||||
ENV NODE_VERSION lts/erbium
|
ENV NODE_VERSION lts/erbium
|
||||||
|
@ -40,10 +39,10 @@ RUN mkdir -p /.npm \
|
||||||
&& nvm alias default $NODE_VERSION \
|
&& nvm alias default $NODE_VERSION \
|
||||||
&& nvm use default \
|
&& nvm use default \
|
||||||
&& cd /srv/etherpad \
|
&& 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 \
|
&& ln -s /usr/bin/python3 /usr/bin/python \
|
||||||
&& src/bin/installDeps.sh \
|
&& src/bin/installDeps.sh \
|
||||||
&& npm install sqlite3 \
|
&& cd src && npm install sqlite3 && cd .. \
|
||||||
&& rm -rf /srv/etherpad/.git /.npm/_cacache \
|
&& rm -rf /srv/etherpad/.git /.npm/_cacache \
|
||||||
&& chown -R 70:70 /.npm /srv/etherpad
|
&& chown -R 70:70 /.npm /srv/etherpad
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue