# HG changeset patch # User Goffi # Date 1634891945 -7200 # Node ID a6811543c7ff9bf9cae31cfcdca5f92877f5d73e # Parent 0bbdc50aa405858307d8133cf9d13407be20a3a2 docker (prosody): remove unused `entrypoint.sh` file and `sed` from Dockerfile: The `sed` is not necessary anymore in recent Docker images, since https://github.com/prosody/prosody-docker/pull/65 has been merged. diff -r 0bbdc50aa405 -r a6811543c7ff docker/prosody-e2e/Dockerfile --- a/docker/prosody-e2e/Dockerfile Thu Oct 21 11:55:39 2021 +0200 +++ b/docker/prosody-e2e/Dockerfile Fri Oct 22 10:39:05 2021 +0200 @@ -16,7 +16,3 @@ COPY --chown=root:tls-cert certificates/server1.test/cert.pem /usr/share/libervia/certificates/server1.test.pem COPY --chown=root:tls-cert certificates/server1.test/key.pem /usr/share/libervia/certificates/server1.test-key.pem -# we add exec to handle properly signals, this is missing upstream -# FIXME: to be removed when new images are generated with -# https://github.com/prosody/prosody-docker/pull/65 -RUN sed -i "s/^runuser -u prosody/exec \0/" /entrypoint.sh diff -r 0bbdc50aa405 -r a6811543c7ff docker/prosody-e2e/entrypoint.sh --- a/docker/prosody-e2e/entrypoint.sh Thu Oct 21 11:55:39 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -#!/bin/bash -set -e - -usermod -u "$(stat -c %u /var/lib/prosody/.)" prosody - -if [[ "$1" != "prosody" ]]; then - exec prosodyctl "$@" - exit 0; -fi - -if [ "$LOCAL" -a "$PASSWORD" -a "$DOMAIN" ] ; then - prosodyctl register "$LOCAL" "$DOMAIN" "$PASSWORD" -fi - -exec runuser -u prosody -- "$@"