-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
16 changed files
with
1,339 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
FROM amazonlinux:2023.5.20240730.0 | ||
|
||
# Install necessary packages | ||
RUN dnf -y install \ | ||
# these switches are used to force full java-17-corretto dependencies installation | ||
ant -x java-22-amazon-corretto-headless -x java-21-amazon-corretto-headless \ | ||
# awscli \ | ||
tar \ | ||
gzip \ | ||
openssl \ | ||
unzip \ | ||
wget \ | ||
which \ | ||
&& dnf clean all | ||
|
||
RUN mkdir -p /mda/inc/inc-meta | ||
COPY . /mda/inc/inc-meta | ||
|
||
# Set environment variables | ||
# | ||
# Note: XMLSECTOOL_PATH specifies the path to the xmlsectool installed with the | ||
# metadata aggregator. We use xmlsectool in startup.sh, but that will no | ||
# longer be required if we update the inc-meta MDA rules to check the | ||
# signature of the source aggregate. | ||
ENV INC_MD_VERIFIED_PATH=/metadata/inc-metadata.xml \ | ||
XMLSECTOOL_PATH=/mda/inc/inc-meta/tools/xmlsectool-3.0.0/xmlsectool.sh \ | ||
JAVA_HOME=/ \ | ||
JVMOPTS=-Xmx2048m \ | ||
MDQ_HOME=/mda/inc/inc-meta/ \ | ||
WWW_HOME=/mdqwww \ | ||
CERTGEN_MDQSIGN_SUBJECT=/C=US/ST=State/L=City/O=OrgName/CN=mdqsigning.example.org \ | ||
CERTGEN_WWW_SUBJECT=/C=US/ST=State/L=City/O=OrgName/CN=mdqweb.example.org | ||
|
||
# Create metadata output directory | ||
RUN mkdir /metadata | ||
|
||
# CMD ["/usr/local/bin/startup.sh"] |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"settings": { | ||
"terminal.integrated.cwd": "/mda/inc/inc-meta/tests/incommon/scripts" | ||
}, | ||
"workspaceMount": "source=${localWorkspaceFolder},target=/mda/inc/inc-meta,type=bind", | ||
"workspaceFolder": "/mda/inc/inc-meta" | ||
} |
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
Oops, something went wrong.