Author | Jakob Wakeling <[email protected]> |
Date | 2025-01-11 05:23:53 |
Commit | b6b062e839814307951e8786debde361bb74da60 |
Parent | c850c86e98d13b282f071892f73b83a609ea926c |
Fix container image argument passthrough
Diffstat
M | Containerfile | | | 4 | ++-- |
1 files changed, 2 insertions, 2 deletions
diff --git a/Containerfile b/Containerfile index cb29de6..82d90f9 100644 --- a/Containerfile +++ b/Containerfile @@ -26,9 +26,9 @@ EXPOSE 22 VOLUME /etc/goit /var/lib/goit /var/log/goit RUN cat <<EOF > /app/bin/launch.sh -#!/bin/sh +#!/bin/sh -e /usr/sbin/sshd -D & -su -c /app/bin/goit git +su git -c "/app/bin/goit \$@" EOF ENTRYPOINT ["sh", "/app/bin/launch.sh"]