docker: done in new system
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 4 seconds
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 4 seconds
This commit is contained in:
parent
6b32736149
commit
aedfb1cdc5
1 changed files with 0 additions and 14 deletions
|
@ -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";
|
|
Loading…
Reference in a new issue