Skip to content

Commit

Permalink
Merge pull request #365 from fisuda/update/docker_installation
Browse files Browse the repository at this point in the history
Update docker installation procedure on Ubuntu
  • Loading branch information
fisuda committed May 26, 2024
2 parents e8eb7db + c08e992 commit 7f7e23b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## FIWARE Big Bang v0.37.0-next

- Update docker installation procedure on Ubuntu (#365)
- Bump codecov/codecov-action from 1 to 4 (#364)
- Remove version property from docker compose files (#363)
- Update Orion to 3.12.0 (#362)
Expand Down
15 changes: 9 additions & 6 deletions lets-fiware.sh
Original file line number Diff line number Diff line change
Expand Up @@ -760,15 +760,18 @@ setup_firewall() {
install_docker_ubuntu() {
logging_info "${FUNCNAME[0]}"

# Add Docker's official GPG key:
${APT_GET} update
${APT_GET} install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | ${SUDO} gpg --dearmor --yes -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc

# Add the repository to Apt sources:
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

${APT_GET} update
${APT_GET} install -y docker-ce docker-ce-cli containerd.io
${SYSTEMCTL} start docker
Expand Down

0 comments on commit 7f7e23b

Please sign in to comment.