aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Dockerfile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 14:33:49 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-13 14:33:55 +0200
commit16cfe4827f4e2c9796a4b283077c5522a04a4da3 (patch)
tree1a72e35f03af2de1d45408cbb3cb4ec8dd4ba663 /Dockerfile
parentctest: don't use the -C parameter (diff)
downloadcimple-16cfe4827f4e2c9796a4b283077c5522a04a4da3.tar.gz
cimple-16cfe4827f4e2c9796a4b283077c5522a04a4da3.zip
rename Makefile parameters & update README
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index a981556..9de14e1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,8 +7,8 @@ FROM base AS builder
RUN build_deps='bash bsd-compat-headers build-base clang cmake coreutils libgit2-dev py3-pytest sqlite-dev valgrind' && \
apk add -q --no-cache $build_deps
-ARG C_COMPILER=clang
-ARG BUILD_TYPE=Release
+ARG COMPILER=clang
+ARG CONFIGURATION=Release
ARG DEFAULT_HOST=127.0.0.1
ARG src_dir="/app/src"
@@ -18,11 +18,11 @@ COPY [".", "$src_dir"]
RUN cd -- "$src_dir" && \
make install \
- "C_COMPILER=$C_COMPILER" \
- "BUILD_TYPE=$BUILD_TYPE" \
+ "COMPILER=$COMPILER" \
+ "CONFIGURATION=$CONFIGURATION" \
"DEFAULT_HOST=$DEFAULT_HOST" \
"INSTALL_PREFIX=$install_dir" && \
- make test BUILD_TYPE="$BUILD_TYPE"
+ make test CONFIGURATION="$CONFIGURATION"
FROM base