0
0

Updated Etherpad
Some checks failed
etherpad / build (push) Successful in 7m43s
caddy / build (push) Failing after 38m9s
wolfree / build (push) Failing after 9s
simplytranslate / build (push) Failing after 10s
searxng / build-searxng (push) Successful in 1h12m18s
rat-aint-tieba / build (push) Failing after 16s
proxigram / build (push) Failing after 7m15s
imgin / build (push) Failing after 9s
binternet / build (push) Failing after 10s

This commit is contained in:
Opnxng 2024-06-09 11:04:39 +08:00
parent f4e9039ce2
commit 5fa7ca9978

View File

@ -1,7 +1,7 @@
FROM etherpad/etherpad:latest
ARG ETHERPAD_PLUGINS="ep_font_color ep_spellcheck ep_font_size ep_image_upload ep_embedded_hyperlinks2"
ARG ETHERPAD_PLUGINS="ep_font_color ep_spellcheck ep_font_size ep_image_upload ep_embedded_hyperlinks2 ep_adminpads3"
RUN sed -i '/#innerdocbody {/a \ \ font-size: 18px;' ./src/static/css/iframe_editor.css
RUN { [ -z "${ETHERPAD_PLUGINS}" ] || \
npm install --no-save ${ETHERPAD_PLUGINS}; } && \
src/bin/installDeps.sh && \
rm -rf ~/.npm
RUN bin/installDeps.sh && rm -rf ~/.npm && rm -rf ~/.local && rm -rf ~/.cache && \
if [ ! -z "${ETHERPAD_PLUGINS}" ] || [ ! -z "${ETHERPAD_LOCAL_PLUGINS}" ]; then \
pnpm run plugins i ${ETHERPAD_PLUGINS} ${ETHERPAD_LOCAL_PLUGINS:+--path ${ETHERPAD_LOCAL_PLUGINS}}; \
fi