I am the greatest javascript developer in the world.
This commit is contained in:
3
harden
3
harden
@@ -492,6 +492,9 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
function dynamicDockerPortsCronjob {
|
function dynamicDockerPortsCronjob {
|
||||||
|
# Part of the code responsible for the comparison
|
||||||
|
# of the arrays was taken from:
|
||||||
|
# https://stackoverflow.com/questions/2312762/compare-difference-of-two-arrays-in-bash
|
||||||
sudo mkdir -p /root/bin
|
sudo mkdir -p /root/bin
|
||||||
cat << 'TOHERE' | sudo tee /root/bin/dynamic_docker_ports_cronjob.sh > /dev/null 2>&1
|
cat << 'TOHERE' | sudo tee /root/bin/dynamic_docker_ports_cronjob.sh > /dev/null 2>&1
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|||||||
Reference in New Issue
Block a user