ssldump/docker/debian-distros/docker_build.sh

7 lines
214 B
Bash
Raw Normal View History

2023-08-14 13:20:01 +00:00
#!/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}" .