Skip to content

Commit

Permalink
Change shadowJar script to exclude version for easy reference from do…
Browse files Browse the repository at this point in the history
…ckerfile
  • Loading branch information
sfc-gh-mcollado committed Aug 8, 2024
1 parent 71c04b4 commit da8772a
Show file tree
Hide file tree
Showing 4 changed files with 1,787 additions and 1,786 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN ./gradlew --no-daemon --info -PeclipseLink=$ECLIPSELINK clean shadowJar star

FROM registry.access.redhat.com/ubi9/openjdk-21-runtime:1.20-2.1721752928
WORKDIR /app
COPY --from=build /app/polaris-service/build/libs/polaris-service-1.0.0-all.jar /app/lib/polaris-service.jar
COPY --from=build /app/polaris-service/build/libs/polaris-service-all.jar /app/lib/polaris-service-all.jar
COPY --from=build /app/polaris-server.yml /app
COPY --from=build /app/polaris-service/build/scripts/polaris-service /app/bin/polaris-service

Expand Down
4 changes: 2 additions & 2 deletions docs/configuring-polaris-for-production.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,13 @@ Before using Polaris when using a metastore manager other than `in-memory`, you
To bootstrap Polaris, run:

```bash
java -jar /path/to/jar/polaris-service-1.0.0-all.jar bootstrap polaris-server.yml
java -jar /path/to/jar/polaris-service-all.jar bootstrap polaris-server.yml
```

Afterwards, Polaris can be launched normally:

```bash
java -jar /path/to/jar/polaris-service-1.0.0-all.jar server polaris-server.yml
java -jar /path/to/jar/polaris-service-all.jar server polaris-server.yml
```

## Other Configurations
Expand Down
Loading

0 comments on commit da8772a

Please sign in to comment.