ssldump/docker/debian-distros/docker_run.sh
2023-08-14 15:20:01 +02:00

7 lines
210 B
Bash
Executable file

#!/bin/bash
ssldump_version=$(awk '/\s+VERSION/ {print $2}' ../../CMakeLists.txt)
distribution=$(awk '/^FROM/ {gsub(":","-"); print $2}' Dockerfile)
docker run -it ssldump-${distribution}:${ssldump_version}