Skip to content

Commit

Permalink
ACS-9037 Use correct Repo latest image (#2997)
Browse files Browse the repository at this point in the history
  • Loading branch information
pzhyland authored Nov 26, 2024
1 parent 8db7393 commit a25d7df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ mvn dependency:copy -Dartifact=com.microsoft.sqlserver:mssql-jdbc:${MSSQL_JDBC_T
ORACLE_JDBC_TAG=$(mvn help:evaluate -Dexpression=dependency.ojdbc.version -q -DforceStdout)
mvn dependency:copy -Dartifact=com.oracle.database.jdbc:ojdbc11:${ORACLE_JDBC_TAG}:jar -DoutputDirectory=tests/environment/alfresco-with-jdbc-drivers

docker build -t alfresco-repository-databases:latest -f tests/environment/alfresco-with-jdbc-drivers/alfresco.Dockerfile .
REPO_LATEST_IMAGE=$(docker images --format='{{.Repository}}:{{.Tag}}' | grep "alfresco-content-repository:latest")
docker build -t alfresco-repository-databases:latest -f tests/environment/alfresco-with-jdbc-drivers/alfresco.Dockerfile . --build-arg BASE_IMAGE=${REPO_LATEST_IMAGE}

source tests/environment/.env

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#BUIDING CONTAINER FOR TAS TESTING WITH DIFFERENT JDBC CONNECTORS
FROM alfresco/alfresco-content-repository:latest
ARG BASE_IMAGE
FROM $BASE_IMAGE

COPY tests/environment/alfresco-with-jdbc-drivers/*.jar /usr/local/tomcat/lib/

0 comments on commit a25d7df

Please sign in to comment.