forked from 9pfs/h.hackclub.app
Make life easier by not updating+upgrading when ssh is already installed :)
This commit is contained in:
parent
c42da6b3b3
commit
bdc93b8887
1 changed files with 4 additions and 3 deletions
|
@ -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 && \
|
||||
|
|
Loading…
Reference in a new issue