Merge pull request #173 from linuxserver/3.17-branding

This commit is contained in:
Adam 2023-03-01 20:11:31 +00:00 committed by GitHub
commit eea14b996e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 36 additions and 40 deletions

View file

@ -79,6 +79,7 @@ RUN \
coreutils \ coreutils \
curl \ curl \
jq \ jq \
netcat-openbsd \
procps \ procps \
shadow \ shadow \
tzdata && \ tzdata && \

View file

@ -79,6 +79,7 @@ RUN \
coreutils \ coreutils \
curl \ curl \
jq \ jq \
netcat-openbsd \
procps \ procps \
shadow \ shadow \
tzdata && \ tzdata && \

View file

@ -79,6 +79,7 @@ RUN \
coreutils \ coreutils \
curl \ curl \
jq \ jq \
netcat-openbsd \
procps \ procps \
shadow \ shadow \
tzdata && \ tzdata && \

2
Jenkinsfile vendored
View file

@ -31,7 +31,7 @@ pipeline {
CI_PORT='80' CI_PORT='80'
CI_SSL='true' CI_SSL='true'
CI_DELAY='30' CI_DELAY='30'
CI_DOCKERENV='TZ=US/Pacific' CI_DOCKERENV='TZ=US/Pacific|LSIO_FIRST_PARTY=true'
CI_AUTH='user:password' CI_AUTH='user:password'
CI_WEBPATH='' CI_WEBPATH=''
} }

View file

@ -21,6 +21,6 @@ repo_vars:
- CI_PORT='80' - CI_PORT='80'
- CI_SSL='true' - CI_SSL='true'
- CI_DELAY='30' - CI_DELAY='30'
- CI_DOCKERENV='TZ=US/Pacific' - CI_DOCKERENV='TZ=US/Pacific|LSIO_FIRST_PARTY=true'
- CI_AUTH='user:password' - CI_AUTH='user:password'
- CI_WEBPATH='' - CI_WEBPATH=''

View file

@ -1 +0,0 @@
ln -s /run/s6/legacy-services /run/s6/services

View file

@ -1 +0,0 @@
oneshot

View file

@ -0,0 +1,12 @@
───────────────────────────────────────
_____ __ __ _____ _____ _____ _____
| | | | __|_ _| | |
| --| | |__ | | | | | | | | |
|_____|_____|_____| |_| |_____|_|_|_|
_____ __ __ _ __ ____
| __ | | | | | | \
| __ -| | | | |__| | |
|_____|_____|_|_____|____/
Based on images from linuxserver.io
───────────────────────────────────────

View file

@ -7,17 +7,8 @@ PGID=${PGID:-911}
groupmod -o -g "$PGID" abc groupmod -o -g "$PGID" abc
usermod -o -u "$PUID" abc usermod -o -u "$PUID" abc
echo ' cat /etc/s6-overlay/s6-rc.d/init-adduser/branding
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------'
if [[ -f /donate.txt ]]; then if [[ -f /donate.txt ]]; then
echo ' echo '
To support the app dev(s) visit:' To support the app dev(s) visit:'
@ -26,32 +17,33 @@ fi
echo ' echo '
To support LSIO projects visit: To support LSIO projects visit:
https://www.linuxserver.io/donate/ https://www.linuxserver.io/donate/
-------------------------------------
───────────────────────────────────────
GID/UID GID/UID
-------------------------------------' ───────────────────────────────────────'
echo " echo "
User uid: $(id -u abc) User UID: $(id -u abc)
User gid: $(id -g abc) User GID: $(id -g abc)
------------------------------------- ───────────────────────────────────────
" "
time32="$(date +%Y)" time32="$(date +%Y)"
if [[ "${time32}" == "1970" || "${time32}" == "1969" ]] && [ "$(uname -m)" == "armv7l" ]; then if [[ "${time32}" == "1970" || "${time32}" == "1969" ]] && [ "$(uname -m)" == "armv7l" ]; then
echo ' echo '
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ╔═════════════════════════════════════════════════════════════════════════════╗
║ ║
Your DockerHost is running an outdated version of libseccomp Your Docker Host is running an outdated version of libseccomp
║ ║
To fix this, please visit https://docs.linuxserver.io/faq#libseccomp To fix this, please visit https://docs.linuxserver.io/faq#libseccomp
║ ║
Apps will not behave correctly without this Apps will not behave correctly without this
║ ║
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ╚═════════════════════════════════════════════════════════════════════════════╝
' '
sleep infinity sleep infinity
fi fi
chown abc:abc /app lsiown abc:abc /app
chown abc:abc /config lsiown abc:abc /config
chown abc:abc /defaults lsiown abc:abc /defaults

View file

@ -1,9 +0,0 @@
#!/bin/bash
if [[ -f /run/s6/container_environment/UMASK ]] &&
{ [[ "$(pwdx $$)" =~ "/run/s6/legacy-services/" ]] ||
[[ "$(pwdx $$)" =~ "/run/s6/services/" ]] ||
[[ "$(pwdx $$)" =~ "/servicedirs/svc-" ]]; }; then
umask "$(cat /run/s6/container_environment/UMASK)"
fi
exec /command/with-contenv "$@"