-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swap base image to UBI9 Minimal (#160)
- Updates Docker base image to JRE 17 UBI9 Minimal - Removes deprecated references from Gradle configuration Signed-off-by: Esta Nagy <[email protected]>
- Loading branch information
Showing
2 changed files
with
23 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
FROM eclipse-temurin:17.0.9_9-jre-jammy | ||
FROM eclipse-temurin:17.0.9_9-jre-ubi9-minimal | ||
LABEL maintainer="[email protected]" | ||
EXPOSE 8443:8443 | ||
ADD lowkey-vault.jar /lowkey-vault.jar | ||
RUN addgroup --system lowkey && adduser --system lowkey --ingroup lowkey | ||
RUN microdnf install shadow-utils | ||
RUN groupadd -r -g 1000 lowkey \ | ||
&& useradd -r -u 1000 -g lowkey -m -d /opt/lowkey -s /bin/bash lowkey | ||
RUN chown -R lowkey:lowkey "/lowkey-vault.jar" | ||
RUN chmod 555 "/lowkey-vault.jar" | ||
RUN mkdir "/import" | ||
|