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
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*.md
.*
Dockerfile
build
api/build
docs
web/node_modules
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COPY build.gradle build.gradle
COPY api ./api
COPY api/build.gradle ./api/build.gradle
COPY clients/java ./clients/java
RUN ./gradlew --no-daemon :api:shadowJar
RUN ./gradlew --no-daemon clean :api:shadowJar

FROM eclipse-temurin:17
RUN apt-get update && apt-get install -y postgresql-client bash coreutils
Expand Down
8 changes: 1 addition & 7 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,8 @@ if [[ -z "${MARQUEZ_CONFIG}" ]]; then
echo "WARNING 'MARQUEZ_CONFIG' not set, using development configuration."
fi

if [[ -z "${MARQUEZ_VERSION}" ]]; then
MARQUEZ_VERSION='*'
echo "WARNING 'MARQUEZ_VERSION' not set. Running could fail if directory contains multiple jar versions."
fi


# Adjust java options for the http server
JAVA_OPTS="${JAVA_OPTS} -Duser.timezone=UTC -Dlog4j2.formatMsgNoLookups=true"

# Start http server with java options and configuration
java ${JAVA_OPTS} -jar marquez-${MARQUEZ_VERSION}.jar server ${MARQUEZ_CONFIG}
java ${JAVA_OPTS} -jar marquez-*.jar server ${MARQUEZ_CONFIG}