Skip to content

Commit

Permalink
Docker build fixups (cmu-db#181)
Browse files Browse the repository at this point in the history
* fixup dockerfile test for when we don't build postgres
* show plaintext build output
  • Loading branch information
bpkroth authored Jun 8, 2022
1 parent 21265a6 commit 8b770dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/benchbase/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ RUN for profile in ${BENCHBASE_PROFILES}; do \
rm -rf profiles/$profile/data/ && ln -s ../../data profiles/$profile/data; \
done \
&& test -d data \
&& test "`readlink -f profiles/postgres/data`" = "/benchbase/data" \
&& test "`readlink -f profiles/$(echo $BENCHBASE_PROFILES | awk '{ print $1 }')/data`" = "/benchbase/data" \
&& mvn -B --file pom.xml clean \
&& rm -rf ~/.m2/repository/* \
&& rm -rf .git/
Expand Down
2 changes: 1 addition & 1 deletion docker/benchbase/build-full-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fi
GID=$(getent passwd $UID | cut -d: -f4)

set -x
docker build --build-arg=http_proxy=${http_proxy:-} --build-arg=https_proxy=${https_proxy:-} \
docker build --progress=plain --build-arg=http_proxy=${http_proxy:-} --build-arg=https_proxy=${https_proxy:-} \
--build-arg MAVEN_OPTS="-Dhttp.proxyHost=${http_proxy_host} -Dhttp.proxyPort=${http_proxy_port} -Dhttps.proxyHost=${https_proxy_host} -Dhttps.proxyPort=${https_proxy_port}" \
--build-arg BENCHBASE_PROFILES="${BENCHBASE_PROFILES}" \
--build-arg UID=$UID --build-arg GID=$GID \
Expand Down

0 comments on commit 8b770dc

Please sign in to comment.