docker: done in new system
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 4 seconds

This commit is contained in:
Starbeamrainbowlabs 2021-11-26 22:30:35 +00:00
parent 6b32736149
commit aedfb1cdc5
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -1,14 +0,0 @@
#!/usr/bin/env bash
# Fix apt update errors
# Ref https://blog.samcater.com/fix-workaround-rpi4-docker-libseccomp2-docker-20/
RUN "sudo apt-get install libseccomp2 -t buster-backports";
# RUN "curl -fsSL https://get.docker.com -o /tmp/get-docker.sh";
# RUN "chmod +x /tmp/get-docker.sh";
# RUN "sudo sh /tmp/get-docker.sh";
RUN 'echo "deb [arch=$(dpkg --print-architecture)] http://download.docker.com/linux/raspbian buster stable" | sudo tee /etc/apt/sources.list.d/docker.list';
RUN "sudo apt-get update";
RUN "sudo apt-get install --yes docker-ce";
RUN "if [[ ! -e \"/etc/docker/daemon.json\" ]]; then echo '{\"insecure-registries\":[\"registry.service.mooncarrot.space:5000\"]}' | sudo tee /etc/docker/daemon.json; fi";
RUN "sudo systemctl reload docker.service";