2021-07-20 13:12:42 +00:00
|
|
|
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
apt-get update
|
|
|
|
apt-get install -y \
|
|
|
|
apt-transport-https \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
gnupg \
|
|
|
|
lsb-release
|
|
|
|
|
|
|
|
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
|
|
|
echo \
|
|
|
|
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
|
|
|
|
$(lsb_release -cs) stable" \
|
|
|
|
> /etc/apt/sources.list.d/docker.list
|
|
|
|
apt-get update
|
|
|
|
|
|
|
|
apt-get install -y \
|
|
|
|
docker-ce-cli \
|
|
|
|
poppler-utils \
|
|
|
|
ghostscript \
|
|
|
|
|
|
|
|
rm -rf /var/lib/apt/lists/*
|