Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,8 @@ REPO_PATH="github.com/wildfly/wildfly-operator"
VERSION="$(git describe --tags --always --dirty)"
GO_LDFLAGS_ARG="-X '${REPO_PATH}/version.Version=${VERSION}'"
echo "building ${PROJECT_NAME} and tagging with ${IMAGE_NAME}"

# Workaround https://github.com/docker/cli/issues/2533
export DOCKER_API_VERSION=1.43

docker build -t ${IMAGE_NAME} --build-arg GO_LDFLAGS="${GO_LDFLAGS_ARG}" .
2 changes: 2 additions & 0 deletions config/tests/build-test-images.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash

set -e
# Workaround https://github.com/docker/cli/issues/2533
export DOCKER_API_VERSION=1.43

WORKDIR=$(readlink -f "$(dirname "$0")/../../bin/test_repos")
echo "WORKDIR: ${WORKDIR}"
Expand Down