mirror of
https://github.com/adulau/ssldump.git
synced 2024-11-25 10:57:06 +00:00
7 lines
214 B
Bash
7 lines
214 B
Bash
|
#!/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}" .
|