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

6 lines
214 B
Bash
Executable file

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