From e928ce51bd8c26742abfd537b054483a18a9689c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Fri, 30 Jun 2023 02:37:27 +0200 Subject: show git hash with --version Also, use cmake's configure_file to build string constants in. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index e55faad..0b86a5a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ RUN build_deps='bash bsd-compat-headers build-base clang cmake coreutils git lib ARG COMPILER=clang ARG CONFIGURATION=Release ARG DEFAULT_HOST=127.0.0.1 +ARG DEFAULT_PORT=5556 ARG src_dir="/app/src" ARG install_dir @@ -21,6 +22,7 @@ RUN cd -- "$src_dir" && \ "COMPILER=$COMPILER" \ "CONFIGURATION=$CONFIGURATION" \ "DEFAULT_HOST=$DEFAULT_HOST" \ + "DEFAULT_PORT=$DEFAULT_PORT" \ "INSTALL_PREFIX=$install_dir" && \ ulimit -n 1024 && \ make test/all CONFIGURATION="$CONFIGURATION" -- cgit v1.2.3