grim/containers/prosody

Parents 36bb8a889535
Children bdfca421dff8
Update the url for the hub extension and use the default head instead of tip for everything
  • +9 -9
    Dockerfile
  • --- a/Dockerfile Tue Feb 11 21:46:08 2020 -0600
    +++ b/Dockerfile Thu Feb 11 06:13:03 2021 -0600
    @@ -22,9 +22,9 @@
    RUN set -ex && \
    cd /tmp && \
    mkdir prosody && \
    - wget https://hg.prosody.im/trunk/archive/tip.tar.gz && \
    - tar -C prosody --strip-components=1 -zxf tip.tar.gz && \
    - rm -f tip.tar.gz && \
    + wget https://hg.prosody.im/trunk/archive/default.tar.gz && \
    + tar -C prosody --strip-components=1 -zxf default.tar.gz && \
    + rm -f default.tar.gz && \
    cd prosody && \
    ./configure --ostype=debian --prefix=/usr && \
    make -j $(nproc) && \
    @@ -36,17 +36,17 @@
    # download and install prosody-modules from an hg archive
    RUN set -ex && \
    cd /tmp && \
    - wget https://hg.prosody.im/prosody-modules/archive/tip.tar.gz && \
    - tar -C /usr/lib/prosody/modules --strip-components=1 -zxf tip.tar.gz && \
    - rm -rf tip.tar.gz
    + wget https://hg.prosody.im/prosody-modules/archive/default.tar.gz && \
    + tar -C /usr/lib/prosody/modules --strip-components=1 -zxf default.tar.gz && \
    + rm -rf default.tar.gz
    # download and install the prosody jetbrains hub auth module
    RUN set -ex && \
    cd /tmp && \
    - wget https://hg.sr.ht/~grim/prosody_mod_auth_jetbrains_hub/archive/tip.tar.gz && \
    + wget https://keep.imfreedom.org/grim/prosody_mod_auth_jetbrains_hub/archive/default.tar.gz && \
    mkdir -p /usr/lib/prosody/modules/mod_auth_jetbrains_hub/ && \
    - tar -C /usr/lib/prosody/modules/mod_auth_jetbrains_hub/ --strip-components=1 -zxf tip.tar.gz && \
    - rm -rf tip.tar.gz
    + tar -C /usr/lib/prosody/modules/mod_auth_jetbrains_hub/ --strip-components=1 -zxf default.tar.gz && \
    + rm -rf default.tar.gz
    COPY prosody.cfg.lua /etc/prosody/prosody.cfg.lua