diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-13 14:33:49 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-13 14:33:55 +0200 |
commit | 16cfe4827f4e2c9796a4b283077c5522a04a4da3 (patch) | |
tree | 1a72e35f03af2de1d45408cbb3cb4ec8dd4ba663 /Dockerfile | |
parent | ctest: don't use the -C parameter (diff) | |
download | cimple-16cfe4827f4e2c9796a4b283077c5522a04a4da3.tar.gz cimple-16cfe4827f4e2c9796a4b283077c5522a04a4da3.zip |
rename Makefile parameters & update README
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 |