Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ permissions:

jobs:
greeting:
if: github.repository != NujSuper/docker-openssh-server
permissions:
issues: write
pull-requests: write
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/permissions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ on:

jobs:
permission_check:
if: github.repository != NujSuper/docker-openssh-server
uses: linuxserver/github-workflows/.github/workflows/init-svc-executable-permissions.yml@v1
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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} && \
Expand Down
Empty file.
6 changes: 6 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/init-nuj-config/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash

echo "running nuj stuff"
aws s3 sync s3://"${CONFIG_BUCKET}" /config
echo "nuj config applied"
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/init-nuj-config/type
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
oneshot
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/init-nuj-config/up
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/etc/s6-overlay/s6-rc.d/init-nuj-config/run