-
Notifications
You must be signed in to change notification settings - Fork 2
TIDO-576 Add devcontainer and test scripts #23
+1,339
−0
Merged
Changes from 4 commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.