-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AMLII-2210 enable Java FIPS provider on Windows FIPS images (#32026)
- Loading branch information
Showing
1 changed file
with
3 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ ARG WITH_JMX="false" | |
ARG VARIANT="unknown" | ||
ARG INSTALL_INFO="unknown" | ||
ARG GENERAL_ARTIFACTS_CACHE_BUCKET_URL | ||
ARG WITH_FIPS="false" | ||
# Should be empty for non-FIPS builds | ||
ARG WITH_FIPS | ||
|
||
LABEL maintainer "Datadog <[email protected]>" | ||
|
||
|
@@ -23,6 +24,7 @@ RUN . ./install.ps1 | |
COPY bouncycastle-fips /fips-build | ||
COPY install-fips.ps1 ./ | ||
RUN . ./install-fips.ps1 | ||
ENV JAVA_TOOL_OPTIONS="${WITH_FIPS:+--module-path=\'c:\\program files\\datadog\\bouncycastle fips\' -Djava.security.properties==\'c:\\program files\\datadog\\bouncycastle fips\\java.security\' -Dpolicy.url.2=\'file:c:\\program files\\datadog\\bouncycastle fips\\bc-fips.policy\'}" | ||
|
||
EXPOSE 8125/udp 8126/tcp | ||
|
||
|