add nuj config, and aws cli

This commit is contained in:
craig 2025-12-03 11:28:27 +08:00
parent 0f1d445f0d
commit 79f2dfca49
7 changed files with 10 additions and 0 deletions

View File

@ -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} && \

View 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

View File

@ -0,0 +1 @@
oneshot

View File

@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-nuj-config/run