]> Git — Sourcephile - gargantext.git/blob - devops/docker/install_docker
Merge remote-tracking branch 'origin/551-dev-graphql-contexts-ngrams' into dev-merge
[gargantext.git] / devops / docker / install_docker
1 #!/bin/bash
2
3
4
5 sudo apt-get update
6
7 sudo apt-get install \
8 ca-certificates \
9 curl \
10 gnupg \
11 lsb-release
12
13 curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
14
15 echo \
16 "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
17 $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
18
19 sudo apt-get update
20
21 sudo apt-get install docker-ce docker-ce-cli containerd.io
22
23 # specific to our LAL config
24 sudo adduser debian docker
25
26