There was an error while loading. Please reload this page.
1 parent cf26961 commit be34f9fCopy full SHA for be34f9f
1 file changed
scripts/ci/build.sh
@@ -150,6 +150,8 @@ fi
150
151
# Use es-community image for live-indexing (ES_COMMUNITY_IMAGE can be overridden via environment)
152
ES_COMMUNITY_IMAGE=${ES_COMMUNITY_IMAGE:-quay.io/alfresco/dev:es-community}
153
+# Strip any carriage returns from the variable (Windows line endings in .env file)
154
+ES_COMMUNITY_IMAGE=${ES_COMMUNITY_IMAGE%%[[:cntrl:]]}
155
echo "Using live-indexing image: $ES_COMMUNITY_IMAGE"
156
157
docker build -t alfresco-es-indexing-jdbc:latest -f tests/environment/alfresco-with-jdbc-drivers/es-connector.Dockerfile . --build-arg IMAGE_NAME="$ES_COMMUNITY_IMAGE"
0 commit comments