mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-10 11:01:14 +00:00
Added wscat tool to work with websockets
This commit is contained in:
@@ -461,6 +461,13 @@ RUN set -eux \
|
||||
&& webpack-cli --version | grep -E '[0-9][.0-9]+' || (webpack-cli --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -724,6 +731,11 @@ RUN set -eux \
|
||||
&& webpack-cli --version | grep -E '[0-9][.0-9]+' || (webpack-cli --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -533,6 +533,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -817,6 +824,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -556,6 +556,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -855,6 +862,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -611,6 +611,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -942,6 +949,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -636,6 +636,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -980,6 +987,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -636,6 +636,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -980,6 +987,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -636,6 +636,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -980,6 +987,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -636,6 +636,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -980,6 +987,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -636,6 +636,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -980,6 +987,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -636,6 +636,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -980,6 +987,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -636,6 +636,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -980,6 +987,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -636,6 +636,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -980,6 +987,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
@@ -589,6 +589,13 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& su -c '. /opt/nvm/nvm.sh; npm install --location=global wscat' devilbox \
|
||||
&& ln -s /opt/nvm/versions/node/$(su -c '. /opt/nvm/nvm.sh; node --version' devilbox)/bin/wscat /usr/local/bin/ \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& pip install --no-cache-dir --no-compile --force-reinstall yamllint \
|
||||
@@ -906,6 +913,11 @@ RUN set -eux \
|
||||
&& wp --allow-root --version | grep -E '[0-9][.0-9]+' || (wp --allow-root --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (npm) wscat --------------------
|
||||
RUN set -eux \
|
||||
&& wscat --version | grep -E '[0-9][.0-9]+' || (wscat --version; false) \
|
||||
&& true
|
||||
|
||||
# -------------------- (pip) yamllint --------------------
|
||||
RUN set -eux \
|
||||
&& yamllint --version 2>&1 | grep -E '[0-9][.0-9]+' || (yamllint --version; false) \
|
||||
|
||||
Reference in New Issue
Block a user