Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Eclipse Temurin because OpenJDK is Deprecated #773

Merged
merged 1 commit into from
Jul 21, 2022
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
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM openjdk:17-oracle
FROM eclipse-temurin:17-jre

RUN microdnf upgrade && microdnf remove expat fontconfig freetype \
aajohan-comfortaa-fonts fontpackages-filesystem gzip bzip2 tar libpng \
binutils && microdnf clean all
RUN apt-get update && apt-get upgrade -y && \
apt-get purge curl libbinutils libctf0 libctf-nobfd0 libncurses6 -y && \
apt-get autoremove -y && apt-get clean

RUN mkdir -p /app/data && chown 1001:1001 /app/data
COPY target/blaze-standalone.jar /app/
Expand Down
4 changes: 2 additions & 2 deletions docs/deployment/manual-deployment.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Manual Deployment

The installation works under Windows, Linux and macOS. The only dependency is an installed OpenJDK 11. Blaze is tested with [AdoptOpenJDK][1].
The installation works under Windows, Linux and macOS. The only dependency is an installed OpenJDK 11 or 17 with 17 recommended. Blaze is tested with [Eclipse Temurin][1].

Blaze runs on the JVM and comes as single JAR file. Download the most recent version [here](https://github.com/samply/blaze/releases/tag/v0.17.11). Look for `blaze-0.17.11-standalone.jar`.

Expand Down Expand Up @@ -68,5 +68,5 @@ that should return:

Blaze will be configured through environment variables which are documented [here][2].

[1]: <https://adoptopenjdk.net>
[1]: <https://adoptium.net>
[2]: <environment-variables.md>
2 changes: 1 addition & 1 deletion modules/server/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{:local/root "../module-base"}

org.eclipse.jetty/jetty-server
{:mvn/version "9.4.46.v20220331"}
{:mvn/version "9.4.48.v20220622"}

ring/ring-jetty-adapter
{:mvn/version "1.9.5"
Expand Down