forked from hmcts/cmc-claim-store
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (17 loc) · 719 Bytes
/
Dockerfile
File metadata and controls
22 lines (17 loc) · 719 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# renovate: datasource=github-releases depName=microsoft/ApplicationInsights-Java
ARG APP_INSIGHTS_AGENT_VERSION=3.4.12
# Application image
FROM hmctspublic.azurecr.io/base/java:17-distroless
USER hmcts
LABEL maintainer="https://github.com/hmcts/cmc-claim-store"
COPY lib/applicationinsights.json /opt/app/
COPY build/libs/claim-store.jar /opt/app/
EXPOSE 4400
CMD [ \
"--add-opens", "java.base/java.lang=ALL-UNNAMED", \
"--add-opens", "java.base/java.nio=ALL-UNNAMED", \
"--add-opens", "java.base/sun.nio.ch=ALL-UNNAMED", \
"--add-opens", "java.management/sun.management=ALL-UNNAMED", \
"--add-opens", "jdk.management/com.sun.management.internal=ALL-UNNAMED", \
"claim-store.jar" \
]