Make life easier by not updating+upgrading when ssh is already installed :)

This commit is contained in:
9pfs 2024-04-06 18:02:31 -07:00
parent c42da6b3b3
commit bdc93b8887
Signed by: 9pfs
SSH key fingerprint: SHA256:TOcGxMQCfy4VvRM8AzgXErKXdkAtaTcpGXgYMpyoJoY

View file

@ -1,8 +1,9 @@
#!/bin/bash
# Assuming that this is a Debian container.
apt-get update && \
apt-get upgrade -y && \
apt install -y openssh && \
# apt-get update && \
# apt-get upgrade -y && \
# Apparently ssh is installed, lol
# apt install -y openssh-client && \
mkdir .ssh && \
echo $DEPLOY_SSH_KEY > .ssh/id_ed25519 && \
chmod -R go-rwx .ssh && \