mirror of
https://github.com/zardus/ctf-tools
synced 2025-03-02 14:17:18 +00:00
26 lines
613 B
Bash
Executable file
26 lines
613 B
Bash
Executable file
#!/bin/bash -ex
|
|
|
|
# Install docker if needed
|
|
set +e
|
|
if which docker 2> /dev/null > /dev/null ; then
|
|
set -e
|
|
else
|
|
set -e
|
|
apt-get install -y \
|
|
apt-transport-https \
|
|
ca-certificates \
|
|
curl \
|
|
software-properties-common
|
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
|
|
add-apt-repository \
|
|
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
|
$(lsb_release -cs) \
|
|
stable"
|
|
apt-get install docker-ce -y
|
|
fi
|
|
|
|
# Pull the container
|
|
docker pull dominicbreuker/stego-toolkit:latest
|
|
|
|
# To run the container, execute:
|
|
# sudo docker run -it dominicbreuker/stego-toolkit /bin/bash
|