mirror of
https://github.com/linuxserver/docker-openssh-server.git
synced 2026-02-20 04:33:38 +08:00
add nuj config, and aws cli
This commit is contained in:
parent
0f1d445f0d
commit
79f2dfca49
@ -22,6 +22,7 @@ RUN \
|
||||
awk '/^P:openssh-server-pam$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
|
||||
fi && \
|
||||
apk add --no-cache \
|
||||
aws-cli \
|
||||
openssh-client==${OPENSSH_RELEASE} \
|
||||
openssh-server-pam==${OPENSSH_RELEASE} \
|
||||
openssh-sftp-server==${OPENSSH_RELEASE} && \
|
||||
|
||||
7
root/etc/s6-overlay/s6-rc.d/init-nuj-config/run
Executable file
7
root/etc/s6-overlay/s6-rc.d/init-nuj-config/run
Executable file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
# shellcheck shell=bash
|
||||
|
||||
echo "running nuj stuff"
|
||||
echo "$env"
|
||||
aws sts get-caller-identity
|
||||
aws s3 sync s3://"${CONFIG_BUCKET}" /config
|
||||
1
root/etc/s6-overlay/s6-rc.d/init-nuj-config/type
Normal file
1
root/etc/s6-overlay/s6-rc.d/init-nuj-config/type
Normal file
@ -0,0 +1 @@
|
||||
oneshot
|
||||
1
root/etc/s6-overlay/s6-rc.d/init-nuj-config/up
Normal file
1
root/etc/s6-overlay/s6-rc.d/init-nuj-config/up
Normal file
@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-nuj-config/run
|
||||
Loading…
x
Reference in New Issue
Block a user