mirror of
https://github.com/apricote/home-cloud.git
synced 2026-01-13 21:11:02 +00:00
bitwarden deployment
This commit is contained in:
commit
42ec743a00
24 changed files with 498 additions and 0 deletions
28
modules/docker_node/scripts/install-docker.sh
Executable file
28
modules/docker_node/scripts/install-docker.sh
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
# Source: https://docs.docker.com/install/linux/docker-ce/ubuntu/#install-using-the-repository
|
||||
|
||||
echo "# apt-get update"
|
||||
apt-get update
|
||||
echo "# apt-get upgrade -y"
|
||||
DEBIAN_FRONTEND='noninteractive' apt-get -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' upgrade
|
||||
|
||||
# Add Repository
|
||||
echo "# apt-get install"
|
||||
apt-get install -y \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
curl \
|
||||
software-properties-common
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
|
||||
add-apt-repository \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) \
|
||||
stable"
|
||||
|
||||
echo "# apt-get update"
|
||||
apt-get update
|
||||
|
||||
# Install Docker
|
||||
echo "# apt-get install docker-ce"
|
||||
apt-get install -y docker-ce
|
||||
Loading…
Add table
Add a link
Reference in a new issue