diff --git a/open-metadata-resources/open-metadata-deployment/docker/platform/Dockerfile b/open-metadata-resources/open-metadata-deployment/docker/platform/Dockerfile index ef956b692c9..050b6820cfb 100644 --- a/open-metadata-resources/open-metadata-deployment/docker/platform/Dockerfile +++ b/open-metadata-resources/open-metadata-deployment/docker/platform/Dockerfile @@ -43,8 +43,9 @@ LABEL org.opencontainers.image.vendor = "ODPi" \ org.opencontainers.image.ext.docker.debug = "docker exec -it $CONTAINER /bin/sh" \ org.opencontainers.image.ext.docker.params = "JAVA_DEBUG=set to true to enable JVM debugging" -# Copy the files to package into the container -COPY assembly/platform /deployments +# Copy the files to package into the container. The chmod sets up the needed file permissions for the +# libraries and the data directory. +COPY --chmod=777 assembly/platform /deployments # Expose port 9443 (default) for client access, and allow for 5005 being used for remote java debug EXPOSE 9443 5005 @@ -52,12 +53,17 @@ EXPOSE 9443 5005 # By default, we run the OMAG Server Platform ENV JAVA_APP_JAR=omag-server-platform-${version}.jar +# These environment variables are a workaround for an incompatibility between the macOS encyryption library and XTDB's +# expectionations. +ENV XTDB_DISABLE_LIBCRYPTO=True +ENV XTDB_ENABLE_BYTEUTILS_SHA1=True + # This is used with regular class loader, ie any client code etc # ENV JAVA_LIBDIR=/deployments/lib -# This is used when running a spring app such as the OMAG Server PLatform (default) +# This is used when running a spring app such as the OMAG Server Platform (default) # Extend this accordingly via the environment, or within a new Dockerfile as needed -ENV LOADER_PATH=/deployments/lib:/deployments/extra +ENV LOADER_PATH=/deployments/lib,/deployments/extra # Joloka will be removed shortly. For now disable to avoid errors # ENV AB_JOLOKIA_OFF=true