├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ └── bug_report.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE.txt ├── Makefile ├── NOTICE.txt ├── README.md ├── al-lambda ├── aarch64 │ ├── corretto11 │ │ ├── Dockerfile │ │ ├── legal │ │ │ └── bill_of_material.txt │ │ └── tools │ │ │ └── runtime_configs │ │ │ └── maven │ │ │ └── settings.xml │ ├── corretto17 │ │ ├── Dockerfile │ │ ├── legal │ │ │ └── bill_of_material.txt │ │ └── tools │ │ │ └── runtime_configs │ │ │ └── maven │ │ │ └── settings.xml │ ├── corretto21 │ │ ├── Dockerfile │ │ ├── legal │ │ │ └── bill_of_material.txt │ │ └── tools │ │ │ └── runtime_configs │ │ │ └── maven │ │ │ └── settings.xml │ ├── dotnet6 │ │ ├── Dockerfile │ │ └── legal │ │ │ └── bill_of_material.txt │ ├── dotnet8 │ │ ├── Dockerfile │ │ └── legal │ │ │ └── bill_of_material.txt │ ├── go1.21 │ │ ├── Dockerfile │ │ └── legal │ │ │ └── bill_of_material.txt │ ├── go1.24 │ │ ├── Dockerfile │ │ └── legal │ │ │ └── bill_of_material.txt │ ├── nodejs18 │ │ ├── Dockerfile │ │ └── legal │ │ │ └── bill_of_material.txt │ ├── nodejs20 │ │ ├── Dockerfile │ │ └── legal │ │ │ └── bill_of_material.txt │ ├── nodejs22 │ │ ├── Dockerfile │ │ └── legal │ │ │ └── bill_of_material.txt │ ├── python3.11 │ │ ├── Dockerfile │ │ ├── legal │ │ │ └── bill_of_material.txt │ │ └── tools │ │ │ └── runtime_configs │ │ │ └── pip │ │ │ └── pip.conf │ ├── python3.12 │ │ ├── Dockerfile │ │ ├── legal │ │ │ └── bill_of_material.txt │ │ └── tools │ │ │ └── runtime_configs │ │ │ └── pip │ │ │ └── pip.conf │ ├── python3.13 │ │ ├── Dockerfile │ │ ├── legal │ │ │ └── bill_of_material.txt │ │ └── tools │ │ │ └── runtime_configs │ │ │ └── pip │ │ │ └── pip.conf │ ├── ruby3.2 │ │ ├── Dockerfile │ │ └── legal │ │ │ └── bill_of_material.txt │ └── ruby3.4 │ │ ├── Dockerfile │ │ └── legal │ │ └── bill_of_material.txt └── x86_64 │ ├── corretto11 │ ├── Dockerfile │ ├── legal │ │ └── bill_of_material.txt │ └── tools │ │ └── runtime_configs │ │ └── maven │ │ └── settings.xml │ ├── corretto17 │ ├── Dockerfile │ ├── legal │ │ └── bill_of_material.txt │ └── tools │ │ └── runtime_configs │ │ └── maven │ │ └── settings.xml │ ├── corretto21 │ ├── Dockerfile │ ├── legal │ │ └── bill_of_material.txt │ └── tools │ │ └── runtime_configs │ │ └── maven │ │ └── settings.xml │ ├── dotnet6 │ ├── Dockerfile │ └── legal │ │ └── bill_of_material.txt │ ├── dotnet8 │ ├── Dockerfile │ └── legal │ │ └── bill_of_material.txt │ ├── go1.21 │ ├── Dockerfile │ └── legal │ │ └── bill_of_material.txt │ ├── go1.24 │ ├── Dockerfile │ └── legal │ │ └── bill_of_material.txt │ ├── nodejs18 │ ├── Dockerfile │ └── legal │ │ └── bill_of_material.txt │ ├── nodejs20 │ ├── Dockerfile │ └── legal │ │ └── bill_of_material.txt │ ├── nodejs22 │ ├── Dockerfile │ └── legal │ │ └── bill_of_material.txt │ ├── python3.11 │ ├── Dockerfile │ ├── legal │ │ └── bill_of_material.txt │ └── tools │ │ └── runtime_configs │ │ └── pip │ │ └── pip.conf │ ├── python3.12 │ ├── Dockerfile │ ├── legal │ │ └── bill_of_material.txt │ └── tools │ │ └── runtime_configs │ │ └── pip │ │ └── pip.conf │ ├── python3.13 │ ├── Dockerfile │ ├── legal │ │ └── bill_of_material.txt │ └── tools │ │ └── runtime_configs │ │ └── pip │ │ └── pip.conf │ ├── ruby3.2 │ ├── Dockerfile │ └── legal │ │ └── bill_of_material.txt │ └── ruby3.4 │ ├── Dockerfile │ └── legal │ └── bill_of_material.txt ├── al ├── aarch64 │ └── standard │ │ ├── 2.0 │ │ ├── Dockerfile │ │ ├── amazon-ssm-agent.json │ │ ├── dockerd-entrypoint.sh │ │ ├── legal │ │ │ ├── THIRD_PARTY_LICENSES.txt │ │ │ └── bill_of_material.txt │ │ ├── runtimes.yml │ │ ├── ssh_config │ │ └── tools │ │ │ └── runtime_configs │ │ │ ├── php │ │ │ ├── 7.3.33 │ │ │ └── 7.4.33 │ │ │ └── python │ │ │ ├── 3.7.16 │ │ │ ├── 3.8.16 │ │ │ └── 3.9.16 │ │ └── 3.0 │ │ ├── Dockerfile │ │ ├── amazon-ssm-agent.json │ │ ├── dockerd-entrypoint.sh │ │ ├── legal │ │ ├── THIRD_PARTY_LICENSES.txt │ │ └── bill_of_material.txt │ │ ├── runtimes.yml │ │ ├── ssh_config │ │ └── tools │ │ └── runtime_configs │ │ ├── php │ │ ├── 8.1.26 │ │ ├── 8.2.13 │ │ └── 8.3.0 │ │ └── python │ │ ├── 3.11.7 │ │ └── 3.12.1 └── x86_64 │ └── standard │ ├── 4.0 │ ├── Dockerfile │ ├── amazon-ssm-agent.json │ ├── dockerd-entrypoint.sh │ ├── legal │ │ ├── THIRD_PARTY_LICENSES.txt │ │ └── bill_of_material.txt │ ├── runtimes.yml │ ├── ssh_config │ └── tools │ │ └── runtime_configs │ │ ├── php │ │ └── 8.1.20 │ │ └── python │ │ └── 3.9.17 │ ├── 5.0 │ ├── Dockerfile │ ├── amazon-ssm-agent.json │ ├── dockerd-entrypoint.sh │ ├── legal │ │ ├── THIRD_PARTY_LICENSES.txt │ │ └── bill_of_material.txt │ ├── runtimes.yml │ ├── ssh_config │ └── tools │ │ └── runtime_configs │ │ ├── php │ │ └── 8.2.12 │ │ └── python │ │ ├── 3.11.6 │ │ └── 3.12.0 │ ├── corretto11 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ ├── legal │ │ └── bill_of_material.txt │ ├── runtimes.yml │ └── ssh_config │ └── corretto8 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ ├── legal │ └── bill_of_material.txt │ ├── runtimes.yml │ └── ssh_config ├── buildspec.yml ├── local_builds ├── LICENSE.txt ├── NOTICE.txt ├── README.md ├── THIRD-PARTY.txt └── codebuild_build.sh ├── ubuntu └── standard │ ├── 5.0 │ ├── Dockerfile │ ├── amazon-ssm-agent.json │ ├── dockerd-entrypoint.sh │ ├── legal │ │ └── bill_of_material.txt │ ├── runtimes.yml │ ├── ssh_config │ └── tools │ │ ├── android-accept-licenses.sh │ │ └── runtime_configs │ │ ├── php │ │ ├── 7.3.33 │ │ ├── 7.4.33 │ │ └── 8.0.29 │ │ └── python │ │ ├── 3.7.17 │ │ ├── 3.8.17 │ │ └── 3.9.17 │ ├── 6.0 │ ├── Dockerfile │ ├── amazon-ssm-agent.json │ ├── dockerd-entrypoint.sh │ ├── legal │ │ └── bill_of_material.txt │ ├── runtimes.yml │ ├── ssh_config │ └── tools │ │ ├── android-accept-licenses.sh │ │ └── runtime_configs │ │ ├── php │ │ └── 8.1.20 │ │ └── python │ │ └── 3.10.12 │ └── 7.0 │ ├── Dockerfile │ ├── amazon-ssm-agent.json │ ├── dockerd-entrypoint.sh │ ├── legal │ └── bill_of_material.txt │ ├── runtimes.yml │ ├── ssh_config │ └── tools │ └── runtime_configs │ ├── php │ └── 8.2.12 │ └── python │ ├── 3.11.6 │ └── 3.12.0 └── unsupported_images ├── al2 ├── aarch64 │ └── standard │ │ └── 1.0 │ │ ├── Dockerfile │ │ ├── amazon-ssm-agent.json │ │ ├── dockerd-entrypoint.sh │ │ ├── runtimes.yml │ │ └── ssh_config └── x86_64 │ └── standard │ ├── 1.0 │ ├── Dockerfile │ ├── amazon-ssm-agent.json │ ├── dockerd-entrypoint.sh │ ├── legal │ │ ├── THIRD_PARTY_LICENSES.txt │ │ └── bill_of_material.txt │ ├── runtimes.yml │ ├── ssh_config │ └── tools │ │ ├── android-accept-licenses.sh │ │ └── runtime_configs │ │ ├── php │ │ ├── 7.3.13 │ │ └── 7.4.1 │ │ └── python │ │ ├── 3.7.6 │ │ └── 3.8.1 │ ├── 2.0 │ ├── Dockerfile │ ├── amazon-ssm-agent.json │ ├── dockerd-entrypoint.sh │ ├── legal │ │ ├── THIRD_PARTY_LICENSES.txt │ │ └── bill_of_material.txt │ ├── runtimes.yml │ ├── ssh_config │ └── tools │ │ ├── android-accept-licenses.sh │ │ └── runtime_configs │ │ ├── php │ │ ├── 7.3.13 │ │ └── 7.4.1 │ │ └── python │ │ ├── 3.7.10 │ │ ├── 3.8.10 │ │ └── 3.9.5 │ └── 3.0 │ ├── Dockerfile │ ├── amazon-ssm-agent.json │ ├── dockerd-entrypoint.sh │ ├── legal │ ├── THIRD_PARTY_LICENSES.txt │ └── bill_of_material.txt │ ├── runtimes.yml │ ├── ssh_config │ └── tools │ ├── android-accept-licenses.sh │ └── runtime_configs │ ├── php │ ├── 7.3.33 │ └── 7.4.33 │ └── python │ ├── 3.7.13 │ ├── 3.8.13 │ └── 3.9.16 ├── android-java-6 └── 24.4.1 │ ├── Dockerfile │ └── tools │ └── android-accept-licenses.sh ├── android-java-7 └── 24.4.1 │ ├── Dockerfile │ └── tools │ └── android-accept-licenses.sh ├── android-java-8 ├── 24.4.1 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ └── tools │ │ └── android-accept-licenses.sh └── 26.1.1 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ └── tools │ └── android-accept-licenses.sh ├── docker ├── 1.12.1 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 17.09.0 │ ├── Dockerfile │ └── dockerd-entrypoint.sh └── 18.09.0 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ └── ssh_config ├── dot-net ├── core-1 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── core-2.1 │ ├── Dockerfile │ └── dockerd-entrypoint.sh └── core-2 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── golang ├── 1.10 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 1.11 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ └── ssh_config ├── 1.5.4 │ └── Dockerfile ├── 1.6.3 │ └── Dockerfile └── 1.7.3 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── java ├── openjdk-11 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ ├── m2-settings.xml │ └── ssh_config ├── openjdk-6 │ ├── Dockerfile │ └── m2-settings.xml ├── openjdk-7 │ ├── Dockerfile │ └── m2-settings.xml ├── openjdk-8 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ └── m2-settings.xml └── openjdk-9 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ └── m2-settings.xml ├── nodejs ├── 10.1.0 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 10.14.1 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ └── ssh_config ├── 4.3.2 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 4.4.7 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 5.12.0 │ └── Dockerfile ├── 6.3.1 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 7.0.0 │ └── Dockerfile └── 8.11.0 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── php ├── 5.6 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 7.0 │ ├── Dockerfile │ └── dockerd-entrypoint.sh └── 7.1 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ └── ssh_config ├── python ├── 2.7.12 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 3.3.6 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 3.4.5 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 3.5.2 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 3.6.5 │ ├── Dockerfile │ └── dockerd-entrypoint.sh └── 3.7.1 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ └── ssh_config ├── ruby ├── 2.1.10 │ └── Dockerfile ├── 2.2.5 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 2.3.1 │ ├── Dockerfile │ └── dockerd-entrypoint.sh ├── 2.5.1 │ ├── Dockerfile │ └── dockerd-entrypoint.sh └── 2.5.3 │ ├── Dockerfile │ ├── dockerd-entrypoint.sh │ └── ssh_config ├── ubuntu-base └── 14.04 │ ├── Dockerfile │ └── dockerd-entrypoint.sh └── ubuntu └── standard ├── 1.0 ├── Dockerfile ├── amazon-ssm-agent.json ├── dockerd-entrypoint.sh ├── legal │ ├── THIRD_PARTY_LICENSES.txt │ └── bill_of_material.txt ├── ssh_config └── tools │ ├── android-accept-licenses.sh │ └── runtime_configs │ ├── php │ ├── 7.3.13 │ └── 7.4.1 │ └── python │ ├── 3.7.6 │ └── 3.8.1 ├── 2.0 ├── Dockerfile ├── amazon-ssm-agent.json ├── dockerd-entrypoint.sh ├── legal │ ├── THIRD_PARTY_LICENSES.txt │ └── bill_of_material.txt ├── runtimes.yml ├── ssh_config └── tools │ ├── android-accept-licenses.sh │ └── runtime_configs │ ├── php │ ├── 7.3.13 │ └── 7.4.1 │ └── python │ ├── 3.7.6 │ └── 3.8.1 ├── 3.0 ├── Dockerfile ├── amazon-ssm-agent.json ├── dockerd-entrypoint.sh ├── legal │ ├── THIRD_PARTY_LICENSES.txt │ └── bill_of_material.txt ├── runtimes.yml ├── ssh_config └── tools │ ├── android-accept-licenses.sh │ └── runtime_configs │ ├── php │ ├── 7.3.13 │ └── 7.4.1 │ └── python │ ├── 3.7.10 │ ├── 3.8.10 │ └── 3.9.5 └── 4.0 ├── Dockerfile ├── amazon-ssm-agent.json ├── dockerd-entrypoint.sh ├── legal ├── THIRD_PARTY_LICENSES.txt └── bill_of_material.txt ├── runtimes.yml ├── ssh_config └── tools ├── android-accept-licenses.sh └── runtime_configs ├── php ├── 7.3.33 └── 7.4.33 └── python ├── 3.7.16 ├── 3.8.16 └── 3.9.16 /.gitattributes: -------------------------------------------------------------------------------- 1 | * -text 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Go to '...' 16 | 2. Click on '....' 17 | 3. Scroll down to '....' 18 | 4. See error 19 | 20 | **Expected behavior** 21 | A clear and concise description of what you expected to happen. 22 | 23 | **Logs** 24 | If applicable, add log output to help explain your problem. 25 | 26 | **Platform (please complete the following information):** 27 | - OS: [e.g. Linux x86, Linux ARM, Mac x86, Mac M1, Windows] 28 | 29 | **Additional context** 30 | Add any other context about the problem here. 31 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | *Issue #, if available:* 2 | 3 | *Description of changes:* 4 | 5 | 6 | By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea 3 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Code of Conduct 2 | This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). 3 | For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact 4 | opensource-codeofconduct@amazon.com with any additional questions or comments. 5 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing Guidelines 2 | 3 | Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional 4 | documentation, we greatly value feedback and contributions from our community. 5 | 6 | Please read through this document before submitting any issues or pull requests to ensure we have all the necessary 7 | information to effectively respond to your bug report or contribution. 8 | 9 | 10 | ## Reporting Bugs/Feature Requests 11 | 12 | We welcome you to use the GitHub issue tracker to report bugs or suggest features. 13 | 14 | When filing an issue, please check [existing open](https://github.com/aws/aws-codebuild-docker-images/issues), or [recently closed](https://github.com/aws/aws-codebuild-docker-images/issues?utf8=%E2%9C%93&q=is%3Aissue%20is%3Aclosed%20), issues to make sure somebody else hasn't already 15 | reported the issue. Please try to include as much information as you can. Details like these are incredibly useful: 16 | 17 | * A reproducible test case or series of steps 18 | * The version of our code being used 19 | * Any modifications you've made relevant to the bug 20 | * Anything unusual about your environment or deployment 21 | 22 | 23 | ## Contributing via Pull Requests 24 | Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that: 25 | 26 | 1. You are working against the latest source on the *master* branch. 27 | 2. You check existing open, and recently merged, pull requests to make sure someone else hasn't addressed the problem already. 28 | 3. You open an issue to discuss any significant work - we would hate for your time to be wasted. 29 | 30 | To send us a pull request, please: 31 | 32 | 1. Fork the repository. 33 | 2. Modify the source; please focus on the specific change you are contributing. If you also reformat all the code, it will be hard for us to focus on your change. 34 | 3. Ensure local tests pass. 35 | 4. Commit to your fork using clear commit messages. 36 | 5. Send us a pull request, answering any default questions in the pull request interface. 37 | 6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation. 38 | 39 | GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and 40 | [creating a pull request](https://help.github.com/articles/creating-a-pull-request/). 41 | 42 | 43 | ## Finding contributions to work on 44 | Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels ((enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any ['help wanted'](https://github.com/aws/aws-codebuild-docker-images/labels/help%20wanted) issues is a great place to start. 45 | 46 | 47 | ## Code of Conduct 48 | This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct). 49 | For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact 50 | opensource-codeofconduct@amazon.com with any additional questions or comments. 51 | 52 | 53 | ## Security issue notifications 54 | If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue. 55 | 56 | 57 | ## Licensing 58 | 59 | See the [LICENSE](https://github.com/aws/aws-codebuild-docker-images/blob/master/LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution. 60 | 61 | We may ask you to sign a [Contributor License Agreement (CLA)](http://en.wikipedia.org/wiki/Contributor_License_Agreement) for larger changes. 62 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | BUILDS=$(shell egrep -o 'ubuntu/[^ ]*' buildspec.yml | sed 's|^ubuntu/||') 2 | NAME=$(shell dirname $@) 3 | VERSION=$(shell basename $@) 4 | TAG=aws/codebuild/$(NAME):$(VERSION) 5 | 6 | ifdef http_proxy 7 | BLD_OPTS=--build-arg http_proxy=$$http_proxy --build-arg https_proxy=$$https_proxy --build-arg no_proxy=$$no_proxy 8 | endif 9 | 10 | all: $(BUILDS) 11 | 12 | $(BUILDS): 13 | cd ubuntu/$(NAME)/$(VERSION) && \ 14 | docker build $(BLD_OPTS) -t $(TAG) . 15 | -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- 1 | aws-codebuild-docker-images 2 | 3 | Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. -------------------------------------------------------------------------------- /al-lambda/aarch64/go1.21/legal/bill_of_material.txt: -------------------------------------------------------------------------------- 1 | The Amazon CodeBuild Product includes the following third-party software/licensing: 2 | 3 | ---------------- 4 | GeoIP-devel : LGPLv2+ and GPLv2+ and CC-BY-SA 5 | ---------------- 6 | ImageMagick : ImageMagick 7 | ---------------- 8 | asciidoc : GPL+ and GPLv2+ 9 | ---------------- 10 | bzip2-devel : BSD 11 | ---------------- 12 | bzr : GPLv2+ 13 | ---------------- 14 | bzrtools : GPLv2+ 15 | ---------------- 16 | cvs : BSD and GPL+ and GPLv2+ and LGPLv2+ and zlib and Public Domain 17 | ---------------- 18 | cvsps : GPL+ 19 | ---------------- 20 | dbus-glib-devel : AFL and GPLv2+ 21 | ---------------- 22 | docbook-dtds : Copyright only 23 | ---------------- 24 | docbook-style-xsl : DMIT 25 | ---------------- 26 | dpkg-dev : GPLv2 and GPLv2+ and LGPLv2+ and Public Domain and BSD 27 | ---------------- 28 | e2fsprogs : GPLv2 29 | ---------------- 30 | expat-devel : MIT 31 | ---------------- 32 | expect : Public Domain 33 | ---------------- 34 | fakeroot : GPLv3+ and LGPLv2+ and (GPL+ or Artistic) 35 | ---------------- 36 | glib2-devel : LGPLv2+ 37 | ---------------- 38 | groff : GPLv3+ and GFDL and BSD and MIT 39 | ---------------- 40 | gtk3-devel : LGPLv2+ 41 | ---------------- 42 | gzip : GPLv3+ and GFDL 43 | ---------------- 44 | icu : MIT and UCD and Public Domain 45 | ---------------- 46 | iptables : GPLv2 47 | ---------------- 48 | jq : MIT and ASL 2.0 and CC-BY and GPLv3 49 | ---------------- 50 | krb5-server : MIT 51 | ---------------- 52 | libargon2-devel : Public Domain or ASL 2.0 53 | ---------------- 54 | libcurl-devel : MIT 55 | ---------------- 56 | libdb-devel : BSD and LGPLv2 and Sleepycat 57 | ---------------- 58 | libedit-devel : BSD 59 | ---------------- 60 | libevent-devel : BSD 61 | ---------------- 62 | libffi-devel : MIT and Public Domain 63 | ---------------- 64 | libgit2 : GPLv2 with exceptions 65 | ---------------- 66 | libicu-devel : MIT and UCD and Public Domain 67 | ---------------- 68 | libpng-devel : zlib 69 | ---------------- 70 | libserf : ASL 2.0 71 | ---------------- 72 | libsqlite3x-devel : zlib 73 | ---------------- 74 | libtidy-devel : W3C 75 | ---------------- 76 | libunwind : BSD 77 | ---------------- 78 | libwebp-devel : BSD 79 | ---------------- 80 | libxml2-devel : MIT 81 | ---------------- 82 | libxslt : MIT 83 | ---------------- 84 | libxslt-devel : MIT 85 | ---------------- 86 | libyaml-devel : MIT 87 | ---------------- 88 | libzip-devel : BSD 89 | ---------------- 90 | mariadb-devel : GPLv2 with exceptions and LGPLv2 and BSD 91 | ---------------- 92 | mercurial : GPLv2+ 93 | ---------------- 94 | mlocate : GPLv2 95 | ---------------- 96 | mono-devel : LGPL-2.1 97 | ---------------- 98 | ncurses-devel : MIT 99 | ---------------- 100 | oniguruma-devel : BSD 101 | ---------------- 102 | openssh-clients : BSD 103 | ---------------- 104 | openssl : OpenSSL 105 | ---------------- 106 | openssl-devel : OpenSSL 107 | ---------------- 108 | perl-DBD-SQLite : GPL+ or Artistic 109 | ---------------- 110 | perl-DBI : GPL+ or Artistic 111 | ---------------- 112 | perl-HTTP-Date : GPL+ or Artistic 113 | ---------------- 114 | perl-IO-Pty-Easy : GPL+ or Artistic 115 | ---------------- 116 | perl-TimeDate : GPL+ or Artistic 117 | ---------------- 118 | perl-YAML-LibYAML : GPL+ or Artistic 119 | ---------------- 120 | postgresql-devel : PostgreSQL 121 | ---------------- 122 | procps-ng : GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+ 123 | ---------------- 124 | readline-devel : GPLv3+ 125 | ---------------- 126 | rsync : GPLv3+ 127 | ---------------- 128 | sbt : BSD 129 | ---------------- 130 | sgml-common : GPL+ 131 | ---------------- 132 | subversion-perl : ASL 2.0 133 | ---------------- 134 | tar : GPLv3+ 135 | ---------------- 136 | tcl : TCL 137 | ---------------- 138 | tk : TCL 139 | ---------------- 140 | wget : GPLv3+ 141 | ---------------- 142 | which : GPLv3 143 | ---------------- 144 | xfsprogs : GPL+ and LGPLv2+ 145 | ---------------- 146 | xmlto : GPLv2+ 147 | ---------------- 148 | xorg-x11-server-Xvfb : MIT and GPLv2 149 | ---------------- 150 | xz-devel : LGPLv2+ 151 | ---------------- 152 | gitversion :https://github.com/GitTools/GitVersion/blob/master/LICENSE 153 | ---------------- 154 | docker :https://www.docker.com/legal/components-licenses 155 | ---------------- 156 | golang :https://golang.org/LICENSE 157 | ---------------- 158 | 159 | -------------------------------------------------------------------------------- /al-lambda/aarch64/go1.24/legal/bill_of_material.txt: -------------------------------------------------------------------------------- 1 | The Amazon CodeBuild Product includes the following third-party software/licensing: 2 | 3 | ---------------- 4 | GeoIP-devel : LGPLv2+ and GPLv2+ and CC-BY-SA 5 | ---------------- 6 | ImageMagick : ImageMagick 7 | ---------------- 8 | asciidoc : GPL+ and GPLv2+ 9 | ---------------- 10 | bzip2-devel : BSD 11 | ---------------- 12 | bzr : GPLv2+ 13 | ---------------- 14 | bzrtools : GPLv2+ 15 | ---------------- 16 | cvs : BSD and GPL+ and GPLv2+ and LGPLv2+ and zlib and Public Domain 17 | ---------------- 18 | cvsps : GPL+ 19 | ---------------- 20 | dbus-glib-devel : AFL and GPLv2+ 21 | ---------------- 22 | docbook-dtds : Copyright only 23 | ---------------- 24 | docbook-style-xsl : DMIT 25 | ---------------- 26 | dpkg-dev : GPLv2 and GPLv2+ and LGPLv2+ and Public Domain and BSD 27 | ---------------- 28 | e2fsprogs : GPLv2 29 | ---------------- 30 | expat-devel : MIT 31 | ---------------- 32 | expect : Public Domain 33 | ---------------- 34 | fakeroot : GPLv3+ and LGPLv2+ and (GPL+ or Artistic) 35 | ---------------- 36 | glib2-devel : LGPLv2+ 37 | ---------------- 38 | groff : GPLv3+ and GFDL and BSD and MIT 39 | ---------------- 40 | gtk3-devel : LGPLv2+ 41 | ---------------- 42 | gzip : GPLv3+ and GFDL 43 | ---------------- 44 | icu : MIT and UCD and Public Domain 45 | ---------------- 46 | iptables : GPLv2 47 | ---------------- 48 | jq : MIT and ASL 2.0 and CC-BY and GPLv3 49 | ---------------- 50 | krb5-server : MIT 51 | ---------------- 52 | libargon2-devel : Public Domain or ASL 2.0 53 | ---------------- 54 | libcurl-devel : MIT 55 | ---------------- 56 | libdb-devel : BSD and LGPLv2 and Sleepycat 57 | ---------------- 58 | libedit-devel : BSD 59 | ---------------- 60 | libevent-devel : BSD 61 | ---------------- 62 | libffi-devel : MIT and Public Domain 63 | ---------------- 64 | libgit2 : GPLv2 with exceptions 65 | ---------------- 66 | libicu-devel : MIT and UCD and Public Domain 67 | ---------------- 68 | libpng-devel : zlib 69 | ---------------- 70 | libserf : ASL 2.0 71 | ---------------- 72 | libsqlite3x-devel : zlib 73 | ---------------- 74 | libtidy-devel : W3C 75 | ---------------- 76 | libunwind : BSD 77 | ---------------- 78 | libwebp-devel : BSD 79 | ---------------- 80 | libxml2-devel : MIT 81 | ---------------- 82 | libxslt : MIT 83 | ---------------- 84 | libxslt-devel : MIT 85 | ---------------- 86 | libyaml-devel : MIT 87 | ---------------- 88 | libzip-devel : BSD 89 | ---------------- 90 | mariadb-devel : GPLv2 with exceptions and LGPLv2 and BSD 91 | ---------------- 92 | mercurial : GPLv2+ 93 | ---------------- 94 | mlocate : GPLv2 95 | ---------------- 96 | mono-devel : LGPL-2.1 97 | ---------------- 98 | ncurses-devel : MIT 99 | ---------------- 100 | oniguruma-devel : BSD 101 | ---------------- 102 | openssh-clients : BSD 103 | ---------------- 104 | openssl : OpenSSL 105 | ---------------- 106 | openssl-devel : OpenSSL 107 | ---------------- 108 | perl-DBD-SQLite : GPL+ or Artistic 109 | ---------------- 110 | perl-DBI : GPL+ or Artistic 111 | ---------------- 112 | perl-HTTP-Date : GPL+ or Artistic 113 | ---------------- 114 | perl-IO-Pty-Easy : GPL+ or Artistic 115 | ---------------- 116 | perl-TimeDate : GPL+ or Artistic 117 | ---------------- 118 | perl-YAML-LibYAML : GPL+ or Artistic 119 | ---------------- 120 | postgresql-devel : PostgreSQL 121 | ---------------- 122 | procps-ng : GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+ 123 | ---------------- 124 | readline-devel : GPLv3+ 125 | ---------------- 126 | rsync : GPLv3+ 127 | ---------------- 128 | sbt : BSD 129 | ---------------- 130 | sgml-common : GPL+ 131 | ---------------- 132 | subversion-perl : ASL 2.0 133 | ---------------- 134 | tar : GPLv3+ 135 | ---------------- 136 | tcl : TCL 137 | ---------------- 138 | tk : TCL 139 | ---------------- 140 | wget : GPLv3+ 141 | ---------------- 142 | which : GPLv3 143 | ---------------- 144 | xfsprogs : GPL+ and LGPLv2+ 145 | ---------------- 146 | xmlto : GPLv2+ 147 | ---------------- 148 | xorg-x11-server-Xvfb : MIT and GPLv2 149 | ---------------- 150 | xz-devel : LGPLv2+ 151 | ---------------- 152 | gitversion :https://github.com/GitTools/GitVersion/blob/master/LICENSE 153 | ---------------- 154 | docker :https://www.docker.com/legal/components-licenses 155 | ---------------- 156 | golang :https://golang.org/LICENSE 157 | ---------------- 158 | 159 | -------------------------------------------------------------------------------- /al-lambda/aarch64/python3.11/legal/bill_of_material.txt: -------------------------------------------------------------------------------- 1 | The Amazon CodeBuild Product includes the following third-party software/licensing: 2 | 3 | ---------------- 4 | GeoIP-devel : LGPLv2+ and GPLv2+ and CC-BY-SA 5 | ---------------- 6 | ImageMagick : ImageMagick 7 | ---------------- 8 | asciidoc : GPL+ and GPLv2+ 9 | ---------------- 10 | bzip2-devel : BSD 11 | ---------------- 12 | bzr : GPLv2+ 13 | ---------------- 14 | bzrtools : GPLv2+ 15 | ---------------- 16 | cvs : BSD and GPL+ and GPLv2+ and LGPLv2+ and zlib and Public Domain 17 | ---------------- 18 | cvsps : GPL+ 19 | ---------------- 20 | dbus-glib-devel : AFL and GPLv2+ 21 | ---------------- 22 | docbook-dtds : Copyright only 23 | ---------------- 24 | docbook-style-xsl : DMIT 25 | ---------------- 26 | dpkg-dev : GPLv2 and GPLv2+ and LGPLv2+ and Public Domain and BSD 27 | ---------------- 28 | e2fsprogs : GPLv2 29 | ---------------- 30 | expat-devel : MIT 31 | ---------------- 32 | expect : Public Domain 33 | ---------------- 34 | fakeroot : GPLv3+ and LGPLv2+ and (GPL+ or Artistic) 35 | ---------------- 36 | glib2-devel : LGPLv2+ 37 | ---------------- 38 | groff : GPLv3+ and GFDL and BSD and MIT 39 | ---------------- 40 | gtk3-devel : LGPLv2+ 41 | ---------------- 42 | gzip : GPLv3+ and GFDL 43 | ---------------- 44 | icu : MIT and UCD and Public Domain 45 | ---------------- 46 | iptables : GPLv2 47 | ---------------- 48 | jq : MIT and ASL 2.0 and CC-BY and GPLv3 49 | ---------------- 50 | krb5-server : MIT 51 | ---------------- 52 | libargon2-devel : Public Domain or ASL 2.0 53 | ---------------- 54 | libcurl-devel : MIT 55 | ---------------- 56 | libdb-devel : BSD and LGPLv2 and Sleepycat 57 | ---------------- 58 | libedit-devel : BSD 59 | ---------------- 60 | libevent-devel : BSD 61 | ---------------- 62 | libffi-devel : MIT and Public Domain 63 | ---------------- 64 | libgit2 : GPLv2 with exceptions 65 | ---------------- 66 | libicu-devel : MIT and UCD and Public Domain 67 | ---------------- 68 | libpng-devel : zlib 69 | ---------------- 70 | libserf : ASL 2.0 71 | ---------------- 72 | libsqlite3x-devel : zlib 73 | ---------------- 74 | libtidy-devel : W3C 75 | ---------------- 76 | libunwind : BSD 77 | ---------------- 78 | libwebp-devel : BSD 79 | ---------------- 80 | libxml2-devel : MIT 81 | ---------------- 82 | libxslt : MIT 83 | ---------------- 84 | libxslt-devel : MIT 85 | ---------------- 86 | libyaml-devel : MIT 87 | ---------------- 88 | libzip-devel : BSD 89 | ---------------- 90 | mariadb-devel : GPLv2 with exceptions and LGPLv2 and BSD 91 | ---------------- 92 | mercurial : GPLv2+ 93 | ---------------- 94 | mlocate : GPLv2 95 | ---------------- 96 | mono-devel : LGPL-2.1 97 | ---------------- 98 | ncurses-devel : MIT 99 | ---------------- 100 | oniguruma-devel : BSD 101 | ---------------- 102 | openssh-clients : BSD 103 | ---------------- 104 | openssl : OpenSSL 105 | ---------------- 106 | openssl-devel : OpenSSL 107 | ---------------- 108 | perl-DBD-SQLite : GPL+ or Artistic 109 | ---------------- 110 | perl-DBI : GPL+ or Artistic 111 | ---------------- 112 | perl-HTTP-Date : GPL+ or Artistic 113 | ---------------- 114 | perl-IO-Pty-Easy : GPL+ or Artistic 115 | ---------------- 116 | perl-TimeDate : GPL+ or Artistic 117 | ---------------- 118 | perl-YAML-LibYAML : GPL+ or Artistic 119 | ---------------- 120 | postgresql-devel : PostgreSQL 121 | ---------------- 122 | procps-ng : GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+ 123 | ---------------- 124 | readline-devel : GPLv3+ 125 | ---------------- 126 | rsync : GPLv3+ 127 | ---------------- 128 | sbt : BSD 129 | ---------------- 130 | sgml-common : GPL+ 131 | ---------------- 132 | subversion-perl : ASL 2.0 133 | ---------------- 134 | tar : GPLv3+ 135 | ---------------- 136 | tcl : TCL 137 | ---------------- 138 | tk : TCL 139 | ---------------- 140 | wget : GPLv3+ 141 | ---------------- 142 | which : GPLv3 143 | ---------------- 144 | xfsprogs : GPL+ and LGPLv2+ 145 | ---------------- 146 | xmlto : GPLv2+ 147 | ---------------- 148 | xorg-x11-server-Xvfb : MIT and GPLv2 149 | ---------------- 150 | xz-devel : LGPLv2+ 151 | ---------------- 152 | gitversion :https://github.com/GitTools/GitVersion/blob/master/LICENSE 153 | ---------------- 154 | docker :https://www.docker.com/legal/components-licenses 155 | ---------------- 156 | python :https://docs.python.org/3/license.html 157 | ---------------- 158 | 159 | -------------------------------------------------------------------------------- /al-lambda/aarch64/python3.11/tools/runtime_configs/pip/pip.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | target = /tmp/opt/python/site-packages -------------------------------------------------------------------------------- /al-lambda/aarch64/python3.12/tools/runtime_configs/pip/pip.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | target = /tmp/opt/python/site-packages -------------------------------------------------------------------------------- /al-lambda/aarch64/python3.13/tools/runtime_configs/pip/pip.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | target = /tmp/opt/python/site-packages -------------------------------------------------------------------------------- /al-lambda/x86_64/go1.21/legal/bill_of_material.txt: -------------------------------------------------------------------------------- 1 | The Amazon CodeBuild Product includes the following third-party software/licensing: 2 | 3 | ---------------- 4 | GeoIP-devel : LGPLv2+ and GPLv2+ and CC-BY-SA 5 | ---------------- 6 | ImageMagick : ImageMagick 7 | ---------------- 8 | asciidoc : GPL+ and GPLv2+ 9 | ---------------- 10 | bzip2-devel : BSD 11 | ---------------- 12 | bzr : GPLv2+ 13 | ---------------- 14 | bzrtools : GPLv2+ 15 | ---------------- 16 | cvs : BSD and GPL+ and GPLv2+ and LGPLv2+ and zlib and Public Domain 17 | ---------------- 18 | cvsps : GPL+ 19 | ---------------- 20 | dbus-glib-devel : AFL and GPLv2+ 21 | ---------------- 22 | docbook-dtds : Copyright only 23 | ---------------- 24 | docbook-style-xsl : DMIT 25 | ---------------- 26 | dpkg-dev : GPLv2 and GPLv2+ and LGPLv2+ and Public Domain and BSD 27 | ---------------- 28 | e2fsprogs : GPLv2 29 | ---------------- 30 | expat-devel : MIT 31 | ---------------- 32 | expect : Public Domain 33 | ---------------- 34 | fakeroot : GPLv3+ and LGPLv2+ and (GPL+ or Artistic) 35 | ---------------- 36 | glib2-devel : LGPLv2+ 37 | ---------------- 38 | groff : GPLv3+ and GFDL and BSD and MIT 39 | ---------------- 40 | gtk3-devel : LGPLv2+ 41 | ---------------- 42 | gzip : GPLv3+ and GFDL 43 | ---------------- 44 | icu : MIT and UCD and Public Domain 45 | ---------------- 46 | iptables : GPLv2 47 | ---------------- 48 | jq : MIT and ASL 2.0 and CC-BY and GPLv3 49 | ---------------- 50 | krb5-server : MIT 51 | ---------------- 52 | libargon2-devel : Public Domain or ASL 2.0 53 | ---------------- 54 | libcurl-devel : MIT 55 | ---------------- 56 | libdb-devel : BSD and LGPLv2 and Sleepycat 57 | ---------------- 58 | libedit-devel : BSD 59 | ---------------- 60 | libevent-devel : BSD 61 | ---------------- 62 | libffi-devel : MIT and Public Domain 63 | ---------------- 64 | libgit2 : GPLv2 with exceptions 65 | ---------------- 66 | libicu-devel : MIT and UCD and Public Domain 67 | ---------------- 68 | libpng-devel : zlib 69 | ---------------- 70 | libserf : ASL 2.0 71 | ---------------- 72 | libsqlite3x-devel : zlib 73 | ---------------- 74 | libtidy-devel : W3C 75 | ---------------- 76 | libunwind : BSD 77 | ---------------- 78 | libwebp-devel : BSD 79 | ---------------- 80 | libxml2-devel : MIT 81 | ---------------- 82 | libxslt : MIT 83 | ---------------- 84 | libxslt-devel : MIT 85 | ---------------- 86 | libyaml-devel : MIT 87 | ---------------- 88 | libzip-devel : BSD 89 | ---------------- 90 | mariadb-devel : GPLv2 with exceptions and LGPLv2 and BSD 91 | ---------------- 92 | mercurial : GPLv2+ 93 | ---------------- 94 | mlocate : GPLv2 95 | ---------------- 96 | mono-devel : LGPL-2.1 97 | ---------------- 98 | ncurses-devel : MIT 99 | ---------------- 100 | oniguruma-devel : BSD 101 | ---------------- 102 | openssh-clients : BSD 103 | ---------------- 104 | openssl : OpenSSL 105 | ---------------- 106 | openssl-devel : OpenSSL 107 | ---------------- 108 | perl-DBD-SQLite : GPL+ or Artistic 109 | ---------------- 110 | perl-DBI : GPL+ or Artistic 111 | ---------------- 112 | perl-HTTP-Date : GPL+ or Artistic 113 | ---------------- 114 | perl-IO-Pty-Easy : GPL+ or Artistic 115 | ---------------- 116 | perl-TimeDate : GPL+ or Artistic 117 | ---------------- 118 | perl-YAML-LibYAML : GPL+ or Artistic 119 | ---------------- 120 | postgresql-devel : PostgreSQL 121 | ---------------- 122 | procps-ng : GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+ 123 | ---------------- 124 | readline-devel : GPLv3+ 125 | ---------------- 126 | rsync : GPLv3+ 127 | ---------------- 128 | sbt : BSD 129 | ---------------- 130 | sgml-common : GPL+ 131 | ---------------- 132 | subversion-perl : ASL 2.0 133 | ---------------- 134 | tar : GPLv3+ 135 | ---------------- 136 | tcl : TCL 137 | ---------------- 138 | tk : TCL 139 | ---------------- 140 | wget : GPLv3+ 141 | ---------------- 142 | which : GPLv3 143 | ---------------- 144 | xfsprogs : GPL+ and LGPLv2+ 145 | ---------------- 146 | xmlto : GPLv2+ 147 | ---------------- 148 | xorg-x11-server-Xvfb : MIT and GPLv2 149 | ---------------- 150 | xz-devel : LGPLv2+ 151 | ---------------- 152 | gitversion :https://github.com/GitTools/GitVersion/blob/master/LICENSE 153 | ---------------- 154 | docker :https://www.docker.com/legal/components-licenses 155 | ---------------- 156 | golang :https://golang.org/LICENSE 157 | ---------------- 158 | 159 | -------------------------------------------------------------------------------- /al-lambda/x86_64/go1.24/legal/bill_of_material.txt: -------------------------------------------------------------------------------- 1 | The Amazon CodeBuild Product includes the following third-party software/licensing: 2 | 3 | ---------------- 4 | GeoIP-devel : LGPLv2+ and GPLv2+ and CC-BY-SA 5 | ---------------- 6 | ImageMagick : ImageMagick 7 | ---------------- 8 | asciidoc : GPL+ and GPLv2+ 9 | ---------------- 10 | bzip2-devel : BSD 11 | ---------------- 12 | bzr : GPLv2+ 13 | ---------------- 14 | bzrtools : GPLv2+ 15 | ---------------- 16 | cvs : BSD and GPL+ and GPLv2+ and LGPLv2+ and zlib and Public Domain 17 | ---------------- 18 | cvsps : GPL+ 19 | ---------------- 20 | dbus-glib-devel : AFL and GPLv2+ 21 | ---------------- 22 | docbook-dtds : Copyright only 23 | ---------------- 24 | docbook-style-xsl : DMIT 25 | ---------------- 26 | dpkg-dev : GPLv2 and GPLv2+ and LGPLv2+ and Public Domain and BSD 27 | ---------------- 28 | e2fsprogs : GPLv2 29 | ---------------- 30 | expat-devel : MIT 31 | ---------------- 32 | expect : Public Domain 33 | ---------------- 34 | fakeroot : GPLv3+ and LGPLv2+ and (GPL+ or Artistic) 35 | ---------------- 36 | glib2-devel : LGPLv2+ 37 | ---------------- 38 | groff : GPLv3+ and GFDL and BSD and MIT 39 | ---------------- 40 | gtk3-devel : LGPLv2+ 41 | ---------------- 42 | gzip : GPLv3+ and GFDL 43 | ---------------- 44 | icu : MIT and UCD and Public Domain 45 | ---------------- 46 | iptables : GPLv2 47 | ---------------- 48 | jq : MIT and ASL 2.0 and CC-BY and GPLv3 49 | ---------------- 50 | krb5-server : MIT 51 | ---------------- 52 | libargon2-devel : Public Domain or ASL 2.0 53 | ---------------- 54 | libcurl-devel : MIT 55 | ---------------- 56 | libdb-devel : BSD and LGPLv2 and Sleepycat 57 | ---------------- 58 | libedit-devel : BSD 59 | ---------------- 60 | libevent-devel : BSD 61 | ---------------- 62 | libffi-devel : MIT and Public Domain 63 | ---------------- 64 | libgit2 : GPLv2 with exceptions 65 | ---------------- 66 | libicu-devel : MIT and UCD and Public Domain 67 | ---------------- 68 | libpng-devel : zlib 69 | ---------------- 70 | libserf : ASL 2.0 71 | ---------------- 72 | libsqlite3x-devel : zlib 73 | ---------------- 74 | libtidy-devel : W3C 75 | ---------------- 76 | libunwind : BSD 77 | ---------------- 78 | libwebp-devel : BSD 79 | ---------------- 80 | libxml2-devel : MIT 81 | ---------------- 82 | libxslt : MIT 83 | ---------------- 84 | libxslt-devel : MIT 85 | ---------------- 86 | libyaml-devel : MIT 87 | ---------------- 88 | libzip-devel : BSD 89 | ---------------- 90 | mariadb-devel : GPLv2 with exceptions and LGPLv2 and BSD 91 | ---------------- 92 | mercurial : GPLv2+ 93 | ---------------- 94 | mlocate : GPLv2 95 | ---------------- 96 | mono-devel : LGPL-2.1 97 | ---------------- 98 | ncurses-devel : MIT 99 | ---------------- 100 | oniguruma-devel : BSD 101 | ---------------- 102 | openssh-clients : BSD 103 | ---------------- 104 | openssl : OpenSSL 105 | ---------------- 106 | openssl-devel : OpenSSL 107 | ---------------- 108 | perl-DBD-SQLite : GPL+ or Artistic 109 | ---------------- 110 | perl-DBI : GPL+ or Artistic 111 | ---------------- 112 | perl-HTTP-Date : GPL+ or Artistic 113 | ---------------- 114 | perl-IO-Pty-Easy : GPL+ or Artistic 115 | ---------------- 116 | perl-TimeDate : GPL+ or Artistic 117 | ---------------- 118 | perl-YAML-LibYAML : GPL+ or Artistic 119 | ---------------- 120 | postgresql-devel : PostgreSQL 121 | ---------------- 122 | procps-ng : GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+ 123 | ---------------- 124 | readline-devel : GPLv3+ 125 | ---------------- 126 | rsync : GPLv3+ 127 | ---------------- 128 | sbt : BSD 129 | ---------------- 130 | sgml-common : GPL+ 131 | ---------------- 132 | subversion-perl : ASL 2.0 133 | ---------------- 134 | tar : GPLv3+ 135 | ---------------- 136 | tcl : TCL 137 | ---------------- 138 | tk : TCL 139 | ---------------- 140 | wget : GPLv3+ 141 | ---------------- 142 | which : GPLv3 143 | ---------------- 144 | xfsprogs : GPL+ and LGPLv2+ 145 | ---------------- 146 | xmlto : GPLv2+ 147 | ---------------- 148 | xorg-x11-server-Xvfb : MIT and GPLv2 149 | ---------------- 150 | xz-devel : LGPLv2+ 151 | ---------------- 152 | gitversion :https://github.com/GitTools/GitVersion/blob/master/LICENSE 153 | ---------------- 154 | docker :https://www.docker.com/legal/components-licenses 155 | ---------------- 156 | golang :https://golang.org/LICENSE 157 | ---------------- 158 | 159 | -------------------------------------------------------------------------------- /al-lambda/x86_64/python3.11/tools/runtime_configs/pip/pip.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | target = /tmp/opt/python/site-packages -------------------------------------------------------------------------------- /al-lambda/x86_64/python3.12/tools/runtime_configs/pip/pip.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | target = /tmp/opt/python/site-packages -------------------------------------------------------------------------------- /al-lambda/x86_64/python3.13/tools/runtime_configs/pip/pip.conf: -------------------------------------------------------------------------------- 1 | [global] 2 | target = /tmp/opt/python/site-packages -------------------------------------------------------------------------------- /al/aarch64/standard/2.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile": { 3 | "ShareCreds": true, 4 | "ShareProfile": "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit": 5, 8 | "StopTimeoutMillis": 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation": "", 16 | "AssociationLogsRetentionDurationHours": 24, 17 | "RunCommandLogsRetentionDurationHours": 336, 18 | "SessionLogsRetentionDurationHours": 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis": 20000, 24 | "SessionWorkersLimit": 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket": "", 40 | "LogKey": "" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /al/aarch64/standard/2.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /al/aarch64/standard/2.0/legal/THIRD_PARTY_LICENSES.txt: -------------------------------------------------------------------------------- 1 | Third Party Licenses 2 | ==================== 3 | 4 | Stunnel: 5 | We include unmodified version of stunnel softwares in the docker images. The source code for the current version can be downloaded from https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/stunnel-5.56.tar.gz 6 | 7 | -------------------------------------------------------------------------------- /al/aarch64/standard/2.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /al/aarch64/standard/2.0/tools/runtime_configs/php/7.3.33: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-libedit" 3 | configure_option "--with-password-argon2" 4 | configure_option "--with-pdo-pgsql" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.33 9 | #Don't change beyond this line 10 | 11 | configure_option "--without-pear" 12 | configure_option "--with-gd" 13 | configure_option "--with-png-dir" "/usr" 14 | configure_option "--with-jpeg-dir" "/usr" 15 | configure_option "--enable-zip" 16 | 17 | install_package "https://secure.php.net/distributions/php-7.3.33.tar.bz2" 18 | install_xdebug "3.1.3" 19 | enable_builtin_opcache -------------------------------------------------------------------------------- /al/aarch64/standard/2.0/tools/runtime_configs/php/7.4.33: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.33 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | 15 | install_package "https://secure.php.net/distributions/php-7.4.33.tar.bz2" 16 | install_xdebug "3.1.3" 17 | enable_builtin_opcache -------------------------------------------------------------------------------- /al/aarch64/standard/2.0/tools/runtime_configs/python/3.7.16: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.7.16 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1q" "https://www.openssl.org/source/openssl-1.1.1q.tar.gz#d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.7.16" "https://www.python.org/ftp/python/3.7.16/Python-3.7.16.tar.xz#8338f0c2222d847e904c955369155dc1beeeed806e8d5ef04b00ef4787238bfd" standard verify_py37 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.7.16" "https://www.python.org/ftp/python/3.7.16/Python-3.7.16.tgz#0cf2da07fa464636755215415909e22eb1d058817af4824bc15af8390d05fb38" standard verify_py37 copy_python_gdb ensurepip 17 | fi -------------------------------------------------------------------------------- /al/aarch64/standard/2.0/tools/runtime_configs/python/3.8.16: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.16 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1q" "https://www.openssl.org/source/openssl-1.1.1q.tar.gz#d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.8.16" "https://www.python.org/ftp/python/3.8.16/Python-3.8.16.tar.xz#d85dbb3774132473d8081dcb158f34a10ccad7a90b96c7e50ea4bb61f5ce4562" standard verify_py38 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.8.16" "https://www.python.org/ftp/python/3.8.16/Python-3.8.16.tgz#71ca9d935637ed2feb59e90a368361dc91eca472a90acb1d344a2e8178ccaf10" standard verify_py38 copy_python_gdb ensurepip 17 | fi -------------------------------------------------------------------------------- /al/aarch64/standard/2.0/tools/runtime_configs/python/3.9.16: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.9.16 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1q" "https://www.openssl.org/source/openssl-1.1.1q.tar.gz#d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.9.16" "https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tar.xz#22dddc099246dd2760665561e8adb7394ea0cc43a72684c6480f9380f7786439" standard verify_py39 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.9.16" "https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tgz#1ad539e9dbd2b42df714b69726e0693bc6b9d2d2c8e91c2e43204026605140c5" standard verify_py39 copy_python_gdb ensurepip 17 | fi -------------------------------------------------------------------------------- /al/aarch64/standard/3.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile": { 3 | "ShareCreds": true, 4 | "ShareProfile": "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit": 5, 8 | "StopTimeoutMillis": 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation": "", 16 | "AssociationLogsRetentionDurationHours": 24, 17 | "RunCommandLogsRetentionDurationHours": 336, 18 | "SessionLogsRetentionDurationHours": 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis": 20000, 24 | "SessionWorkersLimit": 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket": "", 40 | "LogKey": "" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /al/aarch64/standard/3.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /al/aarch64/standard/3.0/legal/THIRD_PARTY_LICENSES.txt: -------------------------------------------------------------------------------- 1 | Third Party Licenses 2 | ==================== 3 | 4 | Stunnel: 5 | We include unmodified version of stunnel softwares in the docker images. The source code for the current version can be downloaded from https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/stunnel-5.56.tar.gz 6 | 7 | -------------------------------------------------------------------------------- /al/aarch64/standard/3.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /al/aarch64/standard/3.0/tools/runtime_configs/php/8.1.26: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.1.26 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | configure_option "--with-mhash" 15 | 16 | configure_option -D "--with-xmlrpc" 17 | 18 | install_package "https://www.php.net/distributions/php-8.1.26.tar.bz2" 19 | install_xdebug "3.3.1" 20 | enable_builtin_opcache -------------------------------------------------------------------------------- /al/aarch64/standard/3.0/tools/runtime_configs/php/8.2.13: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.2.13 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | configure_option "--with-mhash" 15 | 16 | configure_option -D "--with-xmlrpc" 17 | 18 | install_package "https://www.php.net/distributions/php-8.2.13.tar.bz2" 19 | install_xdebug "3.3.1" 20 | enable_builtin_opcache -------------------------------------------------------------------------------- /al/aarch64/standard/3.0/tools/runtime_configs/php/8.3.0: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.3.0 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | configure_option "--with-mhash" 15 | 16 | configure_option -D "--with-xmlrpc" 17 | 18 | install_package "https://www.php.net/distributions/php-8.3.0.tar.bz2" 19 | install_xdebug "3.3.1" 20 | enable_builtin_opcache -------------------------------------------------------------------------------- /al/aarch64/standard/3.0/tools/runtime_configs/python/3.11.7: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.11.7 7 | 8 | prefer_openssl3 9 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 10 | export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1 11 | install_package "openssl-3.2.0" "https://www.openssl.org/source/openssl-3.2.0.tar.gz#14c826f07c7e433706fb5c69fa9e25dab95684844b4c962a2cf1bf183eb4690e" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.11.7" "https://www.python.org/ftp/python/3.11.7/Python-3.11.7.tar.xz#18e1aa7e66ff3a58423d59ed22815a6954e53342122c45df20c96877c062b9b7" standard verify_py311 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.11.7" "https://www.python.org/ftp/python/3.11.7/Python-3.11.7.tgz#068c05f82262e57641bd93458dfa883128858f5f4997aad7a36fd25b13b29209" standard verify_py311 copy_python_gdb ensurepip 17 | fi -------------------------------------------------------------------------------- /al/aarch64/standard/3.0/tools/runtime_configs/python/3.12.1: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.12.1 7 | 8 | prefer_openssl3 9 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 10 | install_package "openssl-3.1.2" "https://www.openssl.org/source/openssl-3.1.2.tar.gz#a0ce69b8b97ea6a35b96875235aa453b966ba3cba8af2de23657d8b6767d6539" mac_openssl --if has_broken_mac_openssl 11 | install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline 12 | if has_tar_xz_support; then 13 | install_package "Python-3.12.1" "https://www.python.org/ftp/python/3.12.1/Python-3.12.1.tar.xz#8dfb8f426fcd226657f9e2bd5f1e96e53264965176fa17d32658e873591aeb21" standard verify_py312 copy_python_gdb ensurepip 14 | else 15 | install_package "Python-3.12.1" "https://www.python.org/ftp/python/3.12.1/Python-3.12.1.tgz#d01ec6a33bc10009b09c17da95cc2759af5a580a7316b3a446eb4190e13f97b2" standard verify_py312 copy_python_gdb ensurepip 16 | fi -------------------------------------------------------------------------------- /al/x86_64/standard/4.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /al/x86_64/standard/4.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ "$CODEBUILD_GPU_BUILD" = "true" ]; then 5 | mkdir -p /etc/docker 6 | echo "{}" >> /etc/docker/daemon.json 7 | curl -s -L https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo | tee /etc/yum.repos.d/nvidia-container-toolkit.repo 8 | yum install -y nvidia-container-toolkit 9 | nvidia-ctk runtime configure --runtime=docker 10 | export NVIDIA_VISIBLE_DEVICES=all 11 | export NVIDIA_DRIVER_CAPABILITIES=compute,utility 12 | fi 13 | 14 | /usr/local/bin/dockerd \ 15 | --host=unix:///var/run/docker.sock \ 16 | --host=tcp://127.0.0.1:2375 \ 17 | --storage-driver=overlay2 &>/var/log/docker.log & 18 | 19 | 20 | tries=0 21 | d_timeout=60 22 | until docker info >/dev/null 2>&1 23 | do 24 | if [ "$tries" -gt "$d_timeout" ]; then 25 | cat /var/log/docker.log 26 | echo 'Timed out trying to connect to internal docker host.' >&2 27 | exit 1 28 | fi 29 | tries=$(( $tries + 1 )) 30 | sleep 1 31 | done 32 | 33 | eval "$@" 34 | -------------------------------------------------------------------------------- /al/x86_64/standard/4.0/legal/THIRD_PARTY_LICENSES.txt: -------------------------------------------------------------------------------- 1 | Third Party Licenses 2 | ==================== 3 | 4 | Stunnel: 5 | We include unmodified version of stunnel softwares in the docker images. The source code for the current version can be downloaded from https://www.stunnel.org/archive/5.x/stunnel-5.69.tar.gz 6 | -------------------------------------------------------------------------------- /al/x86_64/standard/4.0/runtimes.yml: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | 3 | runtimes: 4 | java: 5 | versions: 6 | corretto17: 7 | commands: 8 | - echo "Installing corretto(OpenJDK) version 17 ..." 9 | - export JAVA_HOME="$JAVA_17_HOME" 10 | - export JRE_HOME="$JRE_17_HOME" 11 | - export JDK_HOME="$JDK_17_HOME" 12 | - |- 13 | for tool_path in "$JAVA_HOME"/bin/*; 14 | do tool=`basename "$tool_path"`; 15 | if [ $tool != 'java-rmi.cgi' ]; 16 | then 17 | rm -f /usr/bin/$tool /var/lib/alternatives/$tool \ 18 | && update-alternatives --install /usr/bin/$tool $tool $tool_path 20000; 19 | fi; 20 | done 21 | default: 22 | commands: 23 | - echo "Installing custom Corretto(OpenJDK) version $VERSION ..." 24 | - JAVA_VERSION="$VERSION" 25 | - | 26 | if [ "$VERSION" = "8" ]; then 27 | JAVA_VERSION="1.8.0" 28 | fi 29 | - export JAVA_HOME="/usr/lib/jvm/java-$JAVA_VERSION-amazon-corretto" 30 | - export JRE_HOME=$JAVA_HOME 31 | - export JDK_HOME=$JAVA_HOME 32 | - yum --disablerepo="*" --enablerepo="AmazonCorretto" -y install java-$JAVA_VERSION-amazon-corretto-devel 33 | - | 34 | for tool_path in "$JAVA_HOME"/bin/*; do 35 | tool=`basename "$tool_path"` 36 | if [ "$tool" != "java-rmi.cgi" ]; then 37 | echo "Updating alternatives for $tool" 38 | rm -f /usr/bin/$tool /var/lib/alternatives/$tool 39 | update-alternatives --install /usr/bin/$tool $tool $tool_path 20000 40 | fi 41 | done 42 | golang: 43 | versions: 44 | 1.18: 45 | commands: 46 | - echo "Installing Go version 1.18 ..." 47 | - goenv global $GOLANG_18_VERSION 48 | default: 49 | commands: 50 | - echo "Installing custom Go version $VERSION ..." 51 | - goenv install $VERSION && rm -rf /tmp/* 52 | - goenv global $VERSION 53 | python: 54 | versions: 55 | 3.9: 56 | commands: 57 | - echo "Installing Python version 3.9 ..." 58 | - pyenv global $PYTHON_39_VERSION 59 | default: 60 | commands: 61 | - echo "Installing custom Python version $VERSION ..." 62 | - pyenv install $VERSION && rm -rf /tmp/* 63 | - pyenv global $VERSION 64 | php: 65 | versions: 66 | 8.1: 67 | commands: 68 | - echo "Installing PHP version 8.1 ..." 69 | - phpenv global $PHP_81_VERSION 70 | default: 71 | commands: 72 | - echo "Installing custom PHP version $VERSION ..." 73 | - phpenv install $VERSION && rm -rf /tmp/* 74 | - phpenv global $VERSION 75 | ruby: 76 | versions: 77 | 3.1: 78 | commands: 79 | - echo "Installing Ruby version 3.1 ..." 80 | - rbenv global $RUBY_31_VERSION 81 | default: 82 | commands: 83 | - echo "Installing custom Ruby version $VERSION ..." 84 | - rbenv install $VERSION && rm -rf /tmp/* 85 | - rbenv global $VERSION 86 | nodejs: 87 | versions: 88 | 16: 89 | commands: 90 | - echo "Installing Node.js version 16 ..." 91 | - n $NODE_16_VERSION 92 | default: 93 | commands: 94 | - echo "Installing custom Node.js version $VERSION ..." 95 | - n $VERSION && rm -rf /tmp/* 96 | docker: 97 | versions: 98 | 20: 99 | commands: 100 | - echo "Specifying docker version in buildspec is deprecated. Using docker $DOCKER_VERSION" 101 | dotnet: 102 | versions: 103 | 6.0: 104 | commands: 105 | - echo "Installing .NET version 6.0 ..." 106 | default: 107 | commands: 108 | - echo "Installing custom .Net version $VERSION ..." 109 | - /usr/local/bin/dotnet-install.sh -v $VERSION && rm -rf /tmp/* 110 | - test -f "global.json" && echo "Using provided global.json" || dotnet new globaljson --sdk-version $VERSION --roll-forward feature -------------------------------------------------------------------------------- /al/x86_64/standard/4.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /al/x86_64/standard/4.0/tools/runtime_configs/php/8.1.20: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.1.20 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | configure_option "--with-mhash" 15 | 16 | configure_option -D "--with-xmlrpc" 17 | 18 | install_package "https://www.php.net/distributions/php-8.1.20.tar.bz2" 19 | install_xdebug "3.2.0" 20 | enable_builtin_opcache -------------------------------------------------------------------------------- /al/x86_64/standard/4.0/tools/runtime_configs/python/3.9.17: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.9.17 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | # Avoid a compilation error when linking against OpenSSL built with SSLv3 support (fixed in 3.10.0) (#2181) 12 | export PYTHON_CFLAGS="-DOPENSSL_NO_SSL3${PYTHON_CFLAGS:+ $PYTHON_CFLAGS}" 13 | 14 | install_package "openssl-1.1.1u" "https://www.openssl.org/source/openssl-1.1.1u.tar.gz#e2f8d84b523eecd06c7be7626830370300fbcc15386bf5142d72758f6963ebc6" mac_openssl --if has_broken_mac_openssl 15 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 16 | if has_tar_xz_support; then 17 | install_package "Python-3.9.17" "https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tar.xz#30ce057c44f283f8ed93606ccbdb8d51dd526bdc4c62cce5e0dc217bfa3e8cee" standard verify_py39 copy_python_gdb ensurepip 18 | else 19 | install_package "Python-3.9.17" "https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz#8ead58f669f7e19d777c3556b62fae29a81d7f06a7122ff9bc57f7dd82d7e014" standard verify_py39 copy_python_gdb ensurepip 20 | fi -------------------------------------------------------------------------------- /al/x86_64/standard/5.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /al/x86_64/standard/5.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ "$CODEBUILD_GPU_BUILD" = "true" ]; then 5 | mkdir -p /etc/docker 6 | echo "{}" >> /etc/docker/daemon.json 7 | curl -s -L https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo | tee /etc/yum.repos.d/nvidia-container-toolkit.repo 8 | yum install -y nvidia-container-toolkit 9 | nvidia-ctk runtime configure --runtime=docker 10 | export NVIDIA_VISIBLE_DEVICES=all 11 | export NVIDIA_DRIVER_CAPABILITIES=compute,utility 12 | fi 13 | 14 | /usr/local/bin/dockerd \ 15 | --host=unix:///var/run/docker.sock \ 16 | --host=tcp://127.0.0.1:2375 \ 17 | --storage-driver=overlay2 &>/var/log/docker.log & 18 | 19 | 20 | tries=0 21 | d_timeout=60 22 | until docker info >/dev/null 2>&1 23 | do 24 | if [ "$tries" -gt "$d_timeout" ]; then 25 | cat /var/log/docker.log 26 | echo 'Timed out trying to connect to internal docker host.' >&2 27 | exit 1 28 | fi 29 | tries=$(( $tries + 1 )) 30 | sleep 1 31 | done 32 | 33 | eval "$@" 34 | -------------------------------------------------------------------------------- /al/x86_64/standard/5.0/legal/THIRD_PARTY_LICENSES.txt: -------------------------------------------------------------------------------- 1 | Third Party Licenses 2 | ==================== 3 | 4 | Stunnel: 5 | We include unmodified version of stunnel softwares in the docker images. The source code for the current version can be downloaded from https://www.stunnel.org/archive/5.x/stunnel-5.69.tar.gz 6 | -------------------------------------------------------------------------------- /al/x86_64/standard/5.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /al/x86_64/standard/5.0/tools/runtime_configs/php/8.2.12: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.2.12 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | configure_option "--with-mhash" 15 | 16 | configure_option -D "--with-xmlrpc" 17 | 18 | install_package "https://www.php.net/distributions/php-8.2.12.tar.bz2" 19 | install_xdebug "3.2.2" 20 | enable_builtin_opcache 21 | -------------------------------------------------------------------------------- /al/x86_64/standard/5.0/tools/runtime_configs/python/3.11.6: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.11.6 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1 12 | install_package "openssl-1.1.1s" "https://www.openssl.org/source/openssl-1.1.1s.tar.gz#c5ac01e760ee6ff0dab61d6b2bbd30146724d063eb322180c6f18a6f74e4b6aa" mac_openssl --if has_broken_mac_openssl 13 | install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline 14 | if has_tar_xz_support; then 15 | install_package "Python-3.11.6" "https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tar.xz#0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38" standard verify_py311 copy_python_gdb ensurepip 16 | else 17 | install_package "Python-3.11.6" "https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tgz#c049bf317e877cbf9fce8c3af902436774ecef5249a29d10984ca3a37f7f4736" standard verify_py311 copy_python_gdb ensurepip 18 | fi 19 | -------------------------------------------------------------------------------- /al/x86_64/standard/5.0/tools/runtime_configs/python/3.12.0: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.12.0 7 | 8 | #require_gcc 9 | prefer_openssl3 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-3.1.2" "https://www.openssl.org/source/openssl-3.1.2.tar.gz#a0ce69b8b97ea6a35b96875235aa453b966ba3cba8af2de23657d8b6767d6539" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.12.0" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tar.xz#795c34f44df45a0e9b9710c8c71c15c671871524cd412ca14def212e8ccb155d" standard verify_py312 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.12.0" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tgz#51412956d24a1ef7c97f1cb5f70e185c13e3de1f50d131c0aac6338080687afb" standard verify_py312 copy_python_gdb ensurepip 17 | fi 18 | -------------------------------------------------------------------------------- /al/x86_64/standard/corretto11/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ "$CODEBUILD_GPU_BUILD" = "true" ]; then 5 | mkdir -p /etc/docker 6 | echo "{}" >> /etc/docker/daemon.json 7 | curl -s -L https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo | tee /etc/yum.repos.d/nvidia-container-toolkit.repo 8 | yum install -y nvidia-container-toolkit 9 | nvidia-ctk runtime configure --runtime=docker 10 | export NVIDIA_VISIBLE_DEVICES=all 11 | export NVIDIA_DRIVER_CAPABILITIES=compute,utility 12 | fi 13 | 14 | /usr/local/bin/dockerd \ 15 | --host=unix:///var/run/docker.sock \ 16 | --host=tcp://127.0.0.1:2375 \ 17 | --storage-driver=overlay2 &>/var/log/docker.log & 18 | 19 | 20 | tries=0 21 | d_timeout=60 22 | until docker info >/dev/null 2>&1 23 | do 24 | if [ "$tries" -gt "$d_timeout" ]; then 25 | cat /var/log/docker.log 26 | echo 'Timed out trying to connect to internal docker host.' >&2 27 | exit 1 28 | fi 29 | tries=$(( $tries + 1 )) 30 | sleep 1 31 | done 32 | 33 | eval "$@" 34 | -------------------------------------------------------------------------------- /al/x86_64/standard/corretto11/legal/bill_of_material.txt: -------------------------------------------------------------------------------- 1 | The Amazon CodeBuild Product includes the following third-party software/licensing: 2 | 3 | ---------------- 4 | gzip : GPLv3+ and GFDL 5 | ---------------- 6 | openssh-clients : BSD 7 | ---------------- 8 | perl : Artistic 9 | ---------------- 10 | tar : GPLv3+ 11 | ---------------- 12 | wget : GPLv3+ 13 | ---------------- 14 | unzip : http://www.info-zip.org/pub/infozip/license.html 15 | ---------------- 16 | maven : Apache License, Version 2.0 17 | ---------------- 18 | gradle : Apache License, Version 2.0 19 | ---------------- -------------------------------------------------------------------------------- /al/x86_64/standard/corretto11/runtimes.yml: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | 3 | runtimes: 4 | java: 5 | versions: 6 | corretto11: 7 | commands: 8 | - echo "Installing corretto(OpenJDK) version 11 ..." 9 | -------------------------------------------------------------------------------- /al/x86_64/standard/corretto11/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /al/x86_64/standard/corretto8/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ "$CODEBUILD_GPU_BUILD" = "true" ]; then 5 | mkdir -p /etc/docker 6 | echo "{}" >> /etc/docker/daemon.json 7 | curl -s -L https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo | tee /etc/yum.repos.d/nvidia-container-toolkit.repo 8 | yum install -y nvidia-container-toolkit 9 | nvidia-ctk runtime configure --runtime=docker 10 | export NVIDIA_VISIBLE_DEVICES=all 11 | export NVIDIA_DRIVER_CAPABILITIES=compute,utility 12 | fi 13 | 14 | /usr/local/bin/dockerd \ 15 | --host=unix:///var/run/docker.sock \ 16 | --host=tcp://127.0.0.1:2375 \ 17 | --storage-driver=overlay2 &>/var/log/docker.log & 18 | 19 | 20 | tries=0 21 | d_timeout=60 22 | until docker info >/dev/null 2>&1 23 | do 24 | if [ "$tries" -gt "$d_timeout" ]; then 25 | cat /var/log/docker.log 26 | echo 'Timed out trying to connect to internal docker host.' >&2 27 | exit 1 28 | fi 29 | tries=$(( $tries + 1 )) 30 | sleep 1 31 | done 32 | 33 | eval "$@" 34 | -------------------------------------------------------------------------------- /al/x86_64/standard/corretto8/legal/bill_of_material.txt: -------------------------------------------------------------------------------- 1 | The Amazon CodeBuild Product includes the following third-party software/licensing: 2 | 3 | ---------------- 4 | gzip : GPLv3+ and GFDL 5 | ---------------- 6 | openssh-clients : BSD 7 | ---------------- 8 | perl : Artistic 9 | ---------------- 10 | tar : GPLv3+ 11 | ---------------- 12 | wget : GPLv3+ 13 | ---------------- 14 | unzip : http://www.info-zip.org/pub/infozip/license.html 15 | ---------------- 16 | maven : Apache License, Version 2.0 17 | ---------------- 18 | gradle : Apache License, Version 2.0 19 | ---------------- -------------------------------------------------------------------------------- /al/x86_64/standard/corretto8/runtimes.yml: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | 3 | runtimes: 4 | java: 5 | versions: 6 | corretto8: 7 | commands: 8 | - echo "Installing corretto(OpenJDK) version 8 ..." 9 | -------------------------------------------------------------------------------- /al/x86_64/standard/corretto8/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /buildspec.yml: -------------------------------------------------------------------------------- 1 | version: 0.2 2 | 3 | phases: 4 | build: 5 | commands: 6 | - cd $CODEBUILD_SRC_DIR/ubuntu/standard/7.0 7 | - docker build -t aws/codebuild/standard:7.0 . 8 | - cd $CODEBUILD_SRC_DIR/al/x86_64/standard/5.0 9 | - docker build -t aws/codebuild/amazonlinux-x86_64-standard:5.0 . 10 | -------------------------------------------------------------------------------- /local_builds/NOTICE.txt: -------------------------------------------------------------------------------- 1 | amazon/aws-codebuild-local 2 | 3 | Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. 4 | -------------------------------------------------------------------------------- /local_builds/README.md: -------------------------------------------------------------------------------- 1 | ## AWS CodeBuild Local Builds 2 | 3 | 4 | You can now locally test and debug your AWS CodeBuild builds using the new CodeBuild local agent. 5 | Previously, if you wanted to test your AWS CodeBuild build, you had to fully configure and run 6 | CodeBuild. Now, you can simulate a CodeBuild environment locally to quickly troubleshoot the 7 | commands and settings located in the BuildSpec file. The agent also allows you to build your application 8 | locally before committing your changes to build on the cloud. 9 | 10 | Start by pulling the signed local agent image from [public ECR](https://gallery.ecr.aws/codebuild/local-builds): 11 | 12 | For x86_64: `docker pull public.ecr.aws/codebuild/local-builds:latest` 13 | 14 | For ARM: `docker pull public.ecr.aws/codebuild/local-builds:aarch64` 15 | 16 | You can verify the SHA matches our [latest release](https://docs.aws.amazon.com/codebuild/latest/userguide/use-codebuild-agent.html#codebuild-agent-sha). Please allow at least an hour after a new version has been pushed for the updated SHA to be reflected in our documentation. 17 | 18 | Download and use our codebuild_build.sh script to run your local builds. 19 | 20 | usage: codebuild_build.sh [-i image_name] [-a artifact_output_directory] [options] 21 | 22 | **Required:** 23 | * `-i` Used to specify the customer build container image. 24 | * `-a` Used to specify an artifact output directory. 25 | 26 | **Optional:** 27 | * `-l` Used to override the default local agent image. Default is "public.ecr.aws/codebuild/local-builds:latest" 28 | * `-r` Used to specify a report output directory. 29 | * `-c` Use the AWS configuration and credentials from your local host. This includes ~/.aws and any AWS_* environment variables. 30 | * `-p` Used to specify the AWS CLI Profile. 31 | * `-b` Used to specify a buildspec override file. Defaults to buildspec.yml in the source directory. 32 | * `-e` Used to specify a file containing environment variables. 33 | * `-m` Used to mount the source directory to the customer build container directly. 34 | * `-d` Used to run the build container in docker privileged mode. 35 | * `-s` Used to specify a source directory. Defaults to the current working directory. 36 | * First `-s` is for primary source 37 | * Use additional `-s` in `:` format for secondary source 38 | * For `sourceIdentifier`, use a value that is fewer than 128 characters and contains only alphanumeric characters and underscores 39 | 40 | **Environment variable file format:** 41 | * Expects each line to be in VAR=VAL format 42 | * Lines beginning with # are processed as comments and ignored 43 | * Blank lines are ignored 44 | * File can be of type .env or .txt 45 | * There is no special handling of quotation marks, meaning they will be part of the VAL 46 | 47 | Note that if you want to use an AWS CodeBuild Amazon Linux 2 curated image, you can pull it from [public ECR](https://gallery.ecr.aws/codebuild/amazonlinux2-x86_64-standard). If you want to use an Ubuntu-based curated image, you can build it locally on your machine by cloning this repository and performing a docker build on your choice of image. 48 | -------------------------------------------------------------------------------- /ubuntu/standard/5.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /ubuntu/standard/5.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ "$CODEBUILD_GPU_BUILD" = "true" ]; then 5 | mkdir -p /etc/docker 6 | echo "{}" >> /etc/docker/daemon.json 7 | curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list && sudo apt-get update 8 | apt-get install -y nvidia-container-toolkit 9 | nvidia-ctk runtime configure --runtime=docker 10 | export NVIDIA_VISIBLE_DEVICES=all 11 | export NVIDIA_DRIVER_CAPABILITIES=compute,utility 12 | fi 13 | 14 | /usr/local/bin/dockerd \ 15 | --host=unix:///var/run/docker.sock \ 16 | --host=tcp://127.0.0.1:2375 \ 17 | --storage-driver=overlay2 &>/var/log/docker.log & 18 | 19 | 20 | tries=0 21 | d_timeout=60 22 | until docker info >/dev/null 2>&1 23 | do 24 | if [ "$tries" -gt "$d_timeout" ]; then 25 | cat /var/log/docker.log 26 | echo 'Timed out trying to connect to internal docker host.' >&2 27 | exit 1 28 | fi 29 | tries=$(( $tries + 1 )) 30 | sleep 1 31 | done 32 | 33 | eval "$@" 34 | -------------------------------------------------------------------------------- /ubuntu/standard/5.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /ubuntu/standard/5.0/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | "Accept? (y/N): " { 14 | exp_send "y\r" 15 | exp_continue 16 | } 17 | "Review licenses that have not been accepted (y/N)? " { 18 | exp_send "y\r" 19 | exp_continue 20 | } 21 | eof 22 | } 23 | 24 | lassign [wait] pid spawnid os_error waitvalue 25 | 26 | if {$os_error == 0} { 27 | exit $waitvalue 28 | } else { 29 | exit 1 30 | } 31 | -------------------------------------------------------------------------------- /ubuntu/standard/5.0/tools/runtime_configs/php/7.3.33: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-libedit" 3 | configure_option "--with-password-argon2" 4 | configure_option "--with-pdo-pgsql" 5 | configure_option "--with-sodium" 6 | 7 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 8 | 9 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.33 10 | #Don't change beyond this line 11 | 12 | configure_option "--without-pear" 13 | configure_option "--with-gd" 14 | configure_option "--with-png-dir" "/usr" 15 | configure_option "--with-jpeg-dir" "/usr" 16 | configure_option "--enable-zip" 17 | 18 | install_package "https://secure.php.net/distributions/php-7.3.33.tar.bz2" 19 | install_xdebug "3.1.3" 20 | enable_builtin_opcache 21 | -------------------------------------------------------------------------------- /ubuntu/standard/5.0/tools/runtime_configs/php/7.4.33: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | configure_option "--with-sodium" 6 | 7 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 8 | 9 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.33 10 | #Don't change beyond this line 11 | 12 | configure_option "--enable-gd" 13 | configure_option "--with-jpeg" 14 | configure_option "--with-zip" 15 | 16 | install_package "https://secure.php.net/distributions/php-7.4.33.tar.bz2" 17 | install_xdebug "3.1.3" 18 | enable_builtin_opcache 19 | -------------------------------------------------------------------------------- /ubuntu/standard/5.0/tools/runtime_configs/php/8.0.29: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | configure_option "--with-sodium" 6 | 7 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 8 | 9 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.0.28 10 | #Don't change beyond this line 11 | 12 | configure_option "--enable-gd" 13 | configure_option "--with-jpeg" 14 | configure_option "--with-zip" 15 | configure_option "--with-mhash" 16 | 17 | configure_option -D "--with-xmlrpc" 18 | 19 | install_package "https://www.php.net/distributions/php-8.0.29.tar.bz2" 20 | install_xdebug "3.2.0" 21 | enable_builtin_opcache -------------------------------------------------------------------------------- /ubuntu/standard/5.0/tools/runtime_configs/python/3.7.17: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.7.17 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1u" "https://www.openssl.org/source/openssl-1.1.1u.tar.gz#e2f8d84b523eecd06c7be7626830370300fbcc15386bf5142d72758f6963ebc6" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.7.17" "https://www.python.org/ftp/python/3.7.17/Python-3.7.17.tar.xz#7911051ed0422fd54b8f59ffc030f7cf2ae30e0f61bda191800bb040dce4f9d2" standard verify_py37 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.7.17" "https://www.python.org/ftp/python/3.7.17/Python-3.7.17.tgz#fd50161bc2a04f4c22a0971ff0f3856d98b4bf294f89740a9f06b520aae63b49" standard verify_py37 copy_python_gdb ensurepip 17 | fi -------------------------------------------------------------------------------- /ubuntu/standard/5.0/tools/runtime_configs/python/3.8.17: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.17 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | # Avoid a compilation error when linking against OpenSSL built with SSLv3 support (fixed in 3.10.0) (#2181) 12 | export PYTHON_CFLAGS="-DOPENSSL_NO_SSL3${PYTHON_CFLAGS:+ $PYTHON_CFLAGS}" 13 | 14 | install_package "openssl-1.1.1u" "https://www.openssl.org/source/openssl-1.1.1u.tar.gz#e2f8d84b523eecd06c7be7626830370300fbcc15386bf5142d72758f6963ebc6" mac_openssl --if has_broken_mac_openssl 15 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 16 | if has_tar_xz_support; then 17 | install_package "Python-3.8.17" "https://www.python.org/ftp/python/3.8.17/Python-3.8.17.tar.xz#2e54b0c68191f16552f6de2e97a2396540572a219f6bbb28591a137cecc490a9" standard verify_py38 copy_python_gdb ensurepip 18 | else 19 | install_package "Python-3.8.17" "https://www.python.org/ftp/python/3.8.17/Python-3.8.17.tgz#def428fa6cf61b66bcde72e3d9f7d07d33b2e4226f04f9d6fce8384c055113ae" standard verify_py38 copy_python_gdb ensurepip 20 | fi -------------------------------------------------------------------------------- /ubuntu/standard/5.0/tools/runtime_configs/python/3.9.17: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.9.17 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | # Avoid a compilation error when linking against OpenSSL built with SSLv3 support (fixed in 3.10.0) (#2181) 12 | export PYTHON_CFLAGS="-DOPENSSL_NO_SSL3${PYTHON_CFLAGS:+ $PYTHON_CFLAGS}" 13 | 14 | install_package "openssl-1.1.1u" "https://www.openssl.org/source/openssl-1.1.1u.tar.gz#e2f8d84b523eecd06c7be7626830370300fbcc15386bf5142d72758f6963ebc6" mac_openssl --if has_broken_mac_openssl 15 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 16 | if has_tar_xz_support; then 17 | install_package "Python-3.9.17" "https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tar.xz#30ce057c44f283f8ed93606ccbdb8d51dd526bdc4c62cce5e0dc217bfa3e8cee" standard verify_py39 copy_python_gdb ensurepip 18 | else 19 | install_package "Python-3.9.17" "https://www.python.org/ftp/python/3.9.17/Python-3.9.17.tgz#8ead58f669f7e19d777c3556b62fae29a81d7f06a7122ff9bc57f7dd82d7e014" standard verify_py39 copy_python_gdb ensurepip 20 | fi -------------------------------------------------------------------------------- /ubuntu/standard/6.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /ubuntu/standard/6.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ "$CODEBUILD_GPU_BUILD" = "true" ]; then 5 | mkdir -p /etc/docker 6 | echo "{}" >> /etc/docker/daemon.json 7 | curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list && sudo apt-get update 8 | apt-get install -y nvidia-container-toolkit 9 | nvidia-ctk runtime configure --runtime=docker 10 | export NVIDIA_VISIBLE_DEVICES=all 11 | export NVIDIA_DRIVER_CAPABILITIES=compute,utility 12 | fi 13 | 14 | /usr/local/bin/dockerd \ 15 | --host=unix:///var/run/docker.sock \ 16 | --host=tcp://127.0.0.1:2375 \ 17 | --storage-driver=overlay2 &>/var/log/docker.log & 18 | 19 | 20 | tries=0 21 | d_timeout=60 22 | until docker info >/dev/null 2>&1 23 | do 24 | if [ "$tries" -gt "$d_timeout" ]; then 25 | cat /var/log/docker.log 26 | echo 'Timed out trying to connect to internal docker host.' >&2 27 | exit 1 28 | fi 29 | tries=$(( $tries + 1 )) 30 | sleep 1 31 | done 32 | 33 | eval "$@" 34 | -------------------------------------------------------------------------------- /ubuntu/standard/6.0/runtimes.yml: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | 3 | runtimes: 4 | java: 5 | versions: 6 | corretto17: 7 | commands: 8 | - echo "Installing Java version 17 ..." 9 | - export JAVA_HOME="$JAVA_17_HOME" 10 | - export JRE_HOME="$JRE_17_HOME" 11 | - export JDK_HOME="$JDK_17_HOME" 12 | - |- 13 | for tool_path in "$JAVA_HOME"/bin/*; 14 | do tool=`basename "$tool_path"`; 15 | if [ $tool != 'java-rmi.cgi' ]; 16 | then 17 | rm -f /usr/bin/$tool /var/lib/alternatives/$tool; 18 | update-alternatives --install /usr/bin/$tool $tool $tool_path 20000; 19 | update-alternatives --set $tool $tool_path; 20 | fi; 21 | done 22 | default: 23 | commands: 24 | - echo "Installing custom Corretto(OpenJDK) version $VERSION ..." 25 | - JAVA_VERSION="$VERSION" 26 | - | 27 | if [ "$VERSION" = "8" ]; then 28 | JAVA_VERSION="1.8.0" 29 | fi 30 | - apt-get update 31 | - apt-get install -y java-$JAVA_VERSION-amazon-corretto-jdk 32 | - export JAVA_HOME="/usr/lib/jvm/java-$JAVA_VERSION-amazon-corretto" 33 | - export JRE_HOME="/usr/lib/jvm/java-$JAVA_VERSION-amazon-corretto" 34 | - export JDK_HOME="/usr/lib/jvm/java-$JAVA_VERSION-amazon-corretto" 35 | - |- 36 | for tool_path in "$JAVA_HOME"/bin/*; 37 | do tool=`basename "$tool_path"`; 38 | if [ $tool != 'java-rmi.cgi' ]; 39 | then 40 | rm -f /usr/bin/$tool /var/lib/alternatives/$tool; 41 | update-alternatives --install /usr/bin/$tool $tool $tool_path 20000; 42 | update-alternatives --set $tool $tool_path; 43 | fi; 44 | done 45 | golang: 46 | versions: 47 | 1.18: 48 | commands: 49 | - echo "Installing Go version 1.18 ..." 50 | - goenv global $GOLANG_18_VERSION 51 | default: 52 | commands: 53 | - echo "Installing custom Go version $VERSION ..." 54 | - goenv install $VERSION && rm -rf /tmp/* 55 | - goenv global $VERSION 56 | python: 57 | versions: 58 | 3.10: 59 | commands: 60 | - echo "Installing Python version 3.10 ..." 61 | - pyenv global $PYTHON_310_VERSION 62 | default: 63 | commands: 64 | - echo "Installing custom Python version $VERSION ..." 65 | - pyenv install $VERSION && rm -rf /tmp/* 66 | - pyenv global $VERSION 67 | php: 68 | versions: 69 | 8.1: 70 | commands: 71 | - echo "Installing PHP version 8.1 ..." 72 | - phpenv global $PHP_81_VERSION 73 | default: 74 | commands: 75 | - echo "Installing custom PHP version $VERSION ..." 76 | - phpenv install $VERSION && rm -rf /tmp/* 77 | - phpenv global $VERSION 78 | ruby: 79 | versions: 80 | 3.1: 81 | commands: 82 | - echo "Installing Ruby version 3.1 ..." 83 | - rbenv global $RUBY_31_VERSION 84 | default: 85 | commands: 86 | - echo "Installing custom Ruby version $VERSION ..." 87 | - rbenv install $VERSION && rm -rf /tmp/* 88 | - rbenv global $VERSION 89 | nodejs: 90 | versions: 91 | 16: 92 | commands: 93 | - echo "Installing Node.js version 16 ..." 94 | - n $NODE_16_VERSION 95 | default: 96 | commands: 97 | - echo "Installing custom Node.js version $VERSION ..." 98 | - n $VERSION && rm -rf /tmp/* 99 | dotnet: 100 | versions: 101 | 6.0: 102 | commands: 103 | - echo "Installing .NET version 6.0 ..." 104 | default: 105 | commands: 106 | - echo "Installing custom .Net version $VERSION ..." 107 | - /usr/local/bin/dotnet-install.sh -v $VERSION && rm -rf /tmp/* 108 | - test -f "global.json" && echo "Using provided global.json" || dotnet new globaljson --sdk-version $VERSION --roll-forward feature -------------------------------------------------------------------------------- /ubuntu/standard/6.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /ubuntu/standard/6.0/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | "Accept? (y/N): " { 14 | exp_send "y\r" 15 | exp_continue 16 | } 17 | "Review licenses that have not been accepted (y/N)? " { 18 | exp_send "y\r" 19 | exp_continue 20 | } 21 | eof 22 | } 23 | 24 | lassign [wait] pid spawnid os_error waitvalue 25 | 26 | if {$os_error == 0} { 27 | exit $waitvalue 28 | } else { 29 | exit 1 30 | } 31 | -------------------------------------------------------------------------------- /ubuntu/standard/6.0/tools/runtime_configs/php/8.1.20: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.1.20 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | configure_option "--with-mhash" 15 | 16 | configure_option -D "--with-xmlrpc" 17 | 18 | install_package "https://www.php.net/distributions/php-8.1.20.tar.bz2" 19 | install_xdebug "3.2.0" 20 | enable_builtin_opcache -------------------------------------------------------------------------------- /ubuntu/standard/6.0/tools/runtime_configs/python/3.10.12: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.10.12 7 | 8 | # require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1o" "https://www.openssl.org/source/openssl-1.1.1o.tar.gz#9384a2b0570dd80358841464677115df785edb941c71211f75076d72fe6b438f" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.10.12" "https://www.python.org/ftp/python/3.10.12/Python-3.10.12.tar.xz#afb74bf19130e7a47d10312c8f5e784f24e0527981eab68e20546cfb865830b8" standard verify_py310 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.10.12" "https://www.python.org/ftp/python/3.10.12/Python-3.10.12.tgz#a43cd383f3999a6f4a7db2062b2fc9594fefa73e175b3aedafa295a51a7bb65c" standard verify_py310 copy_python_gdb ensurepip 17 | fi -------------------------------------------------------------------------------- /ubuntu/standard/7.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /ubuntu/standard/7.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | if [ "$CODEBUILD_GPU_BUILD" = "true" ]; then 5 | mkdir -p /etc/docker 6 | echo "{}" >> /etc/docker/daemon.json 7 | curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg && curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list && sudo apt-get update 8 | apt-get install -y nvidia-container-toolkit 9 | nvidia-ctk runtime configure --runtime=docker 10 | export NVIDIA_VISIBLE_DEVICES=all 11 | export NVIDIA_DRIVER_CAPABILITIES=compute,utility 12 | fi 13 | 14 | /usr/local/bin/dockerd \ 15 | --host=unix:///var/run/docker.sock \ 16 | --host=tcp://127.0.0.1:2375 \ 17 | --storage-driver=overlay2 &>/var/log/docker.log & 18 | 19 | 20 | tries=0 21 | d_timeout=60 22 | until docker info >/dev/null 2>&1 23 | do 24 | if [ "$tries" -gt "$d_timeout" ]; then 25 | cat /var/log/docker.log 26 | echo 'Timed out trying to connect to internal docker host.' >&2 27 | exit 1 28 | fi 29 | tries=$(( $tries + 1 )) 30 | sleep 1 31 | done 32 | 33 | eval "$@" 34 | -------------------------------------------------------------------------------- /ubuntu/standard/7.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /ubuntu/standard/7.0/tools/runtime_configs/php/8.2.12: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/8.2.12 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | configure_option "--with-mhash" 15 | 16 | configure_option -D "--with-xmlrpc" 17 | 18 | install_package "https://www.php.net/distributions/php-8.2.12.tar.bz2" 19 | install_xdebug "3.2.2" 20 | enable_builtin_opcache 21 | -------------------------------------------------------------------------------- /ubuntu/standard/7.0/tools/runtime_configs/python/3.11.6: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.11.4 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | export PYTHON_BUILD_TCLTK_USE_PKGCONFIG=1 12 | install_package "openssl-1.1.1s" "https://www.openssl.org/source/openssl-1.1.1s.tar.gz#c5ac01e760ee6ff0dab61d6b2bbd30146724d063eb322180c6f18a6f74e4b6aa" mac_openssl --if has_broken_mac_openssl 13 | install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline 14 | if has_tar_xz_support; then 15 | install_package "Python-3.11.6" "https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tar.xz#0fab78fa7f133f4f38210c6260d90d7c0d5c7198446419ce057ec7ac2e6f5f38" standard verify_py311 copy_python_gdb ensurepip 16 | else 17 | install_package "Python-3.11.6" "https://www.python.org/ftp/python/3.11.6/Python-3.11.6.tgz#c049bf317e877cbf9fce8c3af902436774ecef5249a29d10984ca3a37f7f4736" standard verify_py311 copy_python_gdb ensurepip 18 | fi 19 | -------------------------------------------------------------------------------- /ubuntu/standard/7.0/tools/runtime_configs/python/3.12.0: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.12.0 7 | 8 | #require_gcc 9 | prefer_openssl3 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-3.1.2" "https://www.openssl.org/source/openssl-3.1.2.tar.gz#a0ce69b8b97ea6a35b96875235aa453b966ba3cba8af2de23657d8b6767d6539" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.2" "https://ftpmirror.gnu.org/readline/readline-8.2.tar.gz#3feb7171f16a84ee82ca18a36d7b9be109a52c04f492a053331d7d1095007c35" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.12.0" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tar.xz#795c34f44df45a0e9b9710c8c71c15c671871524cd412ca14def212e8ccb155d" standard verify_py312 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.12.0" "https://www.python.org/ftp/python/3.12.0/Python-3.12.0.tgz#51412956d24a1ef7c97f1cb5f70e185c13e3de1f50d131c0aac6338080687afb" standard verify_py312 copy_python_gdb ensurepip 17 | fi 18 | -------------------------------------------------------------------------------- /unsupported_images/al2/aarch64/standard/1.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } -------------------------------------------------------------------------------- /unsupported_images/al2/aarch64/standard/1.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/al2/aarch64/standard/1.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/1.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/1.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/1.0/legal/THIRD_PARTY_LICENSES.txt: -------------------------------------------------------------------------------- 1 | Third Party Licenses 2 | ==================== 3 | 4 | Stunnel: 5 | We include unmodified version of stunnel softwares in the docker images. The source code for the current version can be downloaded from https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/stunnel-5.56.tar.gz 6 | 7 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/1.0/runtimes.yml: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | 3 | runtimes: 4 | android: 5 | versions: 6 | 28: 7 | requires: 8 | java: ["corretto8"] 9 | commands: 10 | - echo "Installing Android version 28 ..." 11 | 29: 12 | requires: 13 | java: ["corretto8"] 14 | commands: 15 | - echo "Installing Android version 29 ..." 16 | java: 17 | versions: 18 | corretto11: 19 | commands: 20 | - echo "Installing corretto(OpenJDK) version 11 ..." 21 | 22 | - export JAVA_HOME="$JAVA_11_HOME" 23 | 24 | - export JRE_HOME="$JRE_11_HOME" 25 | 26 | - export JDK_HOME="$JDK_11_HOME" 27 | 28 | - |- 29 | for tool_path in "$JAVA_HOME"/bin/*; 30 | do tool=`basename "$tool_path"`; 31 | if [ $tool != 'java-rmi.cgi' ]; 32 | then 33 | rm -f /usr/bin/$tool /var/lib/alternatives/$tool \ 34 | && update-alternatives --install /usr/bin/$tool $tool $tool_path 20000; 35 | fi; 36 | done 37 | corretto8: 38 | commands: 39 | - echo "Installing corretto(OpenJDK) version 8 ..." 40 | 41 | - export JAVA_HOME="$JAVA_8_HOME" 42 | 43 | - export JRE_HOME="$JRE_8_HOME" 44 | 45 | - export JDK_HOME="$JDK_8_HOME" 46 | 47 | - |- 48 | for tool_path in "$JAVA_8_HOME"/bin/* "$JRE_8_HOME"/bin/*; 49 | do tool=`basename "$tool_path"`; 50 | if [ $tool != 'java-rmi.cgi' ]; 51 | then 52 | rm -f /usr/bin/$tool /var/lib/alternatives/$tool \ 53 | && update-alternatives --install /usr/bin/$tool $tool $tool_path 20000; 54 | fi; 55 | done 56 | golang: 57 | versions: 58 | 1.12: 59 | commands: 60 | - echo "Installing Go version 1.12 ..." 61 | - goenv global $GOLANG_12_VERSION 62 | 1.13: 63 | commands: 64 | - echo "Installing Go version 1.13 ..." 65 | - goenv global $GOLANG_13_VERSION 66 | python: 67 | versions: 68 | 3.7: 69 | commands: 70 | - echo "Installing Python version 3.7 ..." 71 | - pyenv global $PYTHON_37_VERSION 72 | php: 73 | versions: 74 | 7.3: 75 | commands: 76 | - echo "Installing PHP version 7.3 ..." 77 | - phpenv global $PHP_73_VERSION 78 | ruby: 79 | versions: 80 | 2.6: 81 | commands: 82 | - echo "Installing Ruby version 2.6 ..." 83 | - rbenv global $RUBY_26_VERSION 84 | nodejs: 85 | versions: 86 | 10: 87 | commands: 88 | - echo "Installing Node.js version 10 ..." 89 | - n $NODE_10_VERSION 90 | 8: 91 | commands: 92 | - echo "Installing Node.js version 8 ..." 93 | - n $NODE_8_VERSION 94 | docker: 95 | versions: 96 | 18: 97 | commands: 98 | - echo "Installing Docker version 18 ..." 99 | dotnet: 100 | versions: 101 | 2.2: 102 | commands: 103 | - echo "Installing .NET version 2.2 ..." 104 | 105 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/1.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/1.0/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | "Accept? (y/N): " { 14 | exp_send "y\r" 15 | exp_continue 16 | } 17 | "Review licenses that have not been accepted (y/N)? " { 18 | exp_send "y\r" 19 | exp_continue 20 | } 21 | eof 22 | } 23 | 24 | lassign [wait] pid spawnid os_error waitvalue 25 | 26 | if {$os_error == 0} { 27 | exit $waitvalue 28 | } else { 29 | exit 1 30 | } 31 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/1.0/tools/runtime_configs/php/7.3.13: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-libedit" 3 | configure_option "--with-password-argon2" 4 | configure_option "--with-pdo-pgsql" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.13 9 | #Don't change beyond this line 10 | 11 | configure_option "--without-pear" 12 | configure_option "--with-gd" 13 | configure_option "--with-png-dir" "/usr" 14 | configure_option "--with-jpeg-dir" "/usr" 15 | configure_option "--enable-zip" 16 | 17 | install_package "https://secure.php.net/distributions/php-7.3.13.tar.bz2" 18 | #install_xdebug "2.9.0" 19 | #enable_builtin_opcache 20 | 21 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/1.0/tools/runtime_configs/php/7.4.1: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.1 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | 15 | install_package "https://secure.php.net/distributions/php-7.4.1.tar.bz2" 16 | #install_xdebug "2.9.0" 17 | #enable_builtin_opcache 18 | 19 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/1.0/tools/runtime_configs/python/3.7.6: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.7.6 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.0j" "https://www.openssl.org/source/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.7.6" "https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tar.xz#55a2cce72049f0794e9a11a84862e9039af9183603b78bc60d89539f82cf533f" standard verify_py37 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.7.6" "https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tgz#aeee681c235ad336af116f08ab6563361a0c81c537072c1b309d6e4050aa2114" standard verify_py37 copy_python_gdb ensurepip 17 | fi 18 | 19 | 20 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/1.0/tools/runtime_configs/python/3.8.1: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.1 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.0j" "https://www.openssl.org/source/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.8.1" "https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz#75894117f6db7051c1b34f37410168844bbb357c139a8a10a352e9bf8be594e8" standard verify_py38 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.8.1" "https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz#c7cfa39a43b994621b245e029769e9126caa2a93571cee2e743b213cceac35fb" standard verify_py38 copy_python_gdb ensurepip 17 | fi 18 | 19 | 20 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/2.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/2.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/2.0/legal/THIRD_PARTY_LICENSES.txt: -------------------------------------------------------------------------------- 1 | Third Party Licenses 2 | ==================== 3 | 4 | Stunnel: 5 | We include unmodified version of stunnel softwares in the docker images. The source code for the current version can be downloaded from https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/stunnel-5.56.tar.gz 6 | 7 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/2.0/runtimes.yml: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | 3 | runtimes: 4 | android: 5 | versions: 6 | 28: 7 | requires: 8 | java: ["corretto8"] 9 | commands: 10 | - echo "Installing Android version 28 ..." 11 | 29: 12 | requires: 13 | java: ["corretto8"] 14 | commands: 15 | - echo "Installing Android version 29 ..." 16 | java: 17 | versions: 18 | corretto11: 19 | commands: 20 | - echo "Installing corretto(OpenJDK) version 11 ..." 21 | 22 | - export JAVA_HOME="$JAVA_11_HOME" 23 | 24 | - export JRE_HOME="$JRE_11_HOME" 25 | 26 | - export JDK_HOME="$JDK_11_HOME" 27 | 28 | - |- 29 | for tool_path in "$JAVA_HOME"/bin/*; 30 | do tool=`basename "$tool_path"`; 31 | if [ $tool != 'java-rmi.cgi' ]; 32 | then 33 | rm -f /usr/bin/$tool /var/lib/alternatives/$tool \ 34 | && update-alternatives --install /usr/bin/$tool $tool $tool_path 20000; 35 | fi; 36 | done 37 | corretto8: 38 | commands: 39 | - echo "Installing corretto(OpenJDK) version 8 ..." 40 | 41 | - export JAVA_HOME="$JAVA_8_HOME" 42 | 43 | - export JRE_HOME="$JRE_8_HOME" 44 | 45 | - export JDK_HOME="$JDK_8_HOME" 46 | 47 | - |- 48 | for tool_path in "$JAVA_8_HOME"/bin/* "$JRE_8_HOME"/bin/*; 49 | do tool=`basename "$tool_path"`; 50 | if [ $tool != 'java-rmi.cgi' ]; 51 | then 52 | rm -f /usr/bin/$tool /var/lib/alternatives/$tool \ 53 | && update-alternatives --install /usr/bin/$tool $tool $tool_path 20000; 54 | fi; 55 | done 56 | golang: 57 | versions: 58 | 1.12: 59 | commands: 60 | - echo "Installing Go version 1.12 ..." 61 | - goenv global $GOLANG_12_VERSION 62 | 1.13: 63 | commands: 64 | - echo "Installing Go version 1.13 ..." 65 | - goenv global $GOLANG_13_VERSION 66 | python: 67 | versions: 68 | 3.8: 69 | commands: 70 | - echo "Installing Python version 3.8 ..." 71 | - pyenv global $PYTHON_38_VERSION 72 | 3.9: 73 | commands: 74 | - echo "Installing Python version 3.9 ..." 75 | - pyenv global $PYTHON_39_VERSION 76 | php: 77 | versions: 78 | 7.3: 79 | commands: 80 | - echo "Installing PHP version 7.3 ..." 81 | - phpenv global $PHP_73_VERSION 82 | ruby: 83 | versions: 84 | 2.6: 85 | commands: 86 | - echo "Installing Ruby version 2.6 ..." 87 | - rbenv global $RUBY_26_VERSION 88 | nodejs: 89 | versions: 90 | 12: 91 | commands: 92 | - echo "Installing Node.js version 12 ..." 93 | - n $NODE_12_VERSION 94 | 10: 95 | commands: 96 | - echo "Installing Node.js version 10 ..." 97 | - n $NODE_10_VERSION 98 | docker: 99 | versions: 100 | 18: 101 | commands: 102 | - echo "Specifying docker version in buildspec is deprecated. Using docker $DOCKER_VERSION ." 103 | dotnet: 104 | versions: 105 | 3.0: 106 | commands: 107 | - echo "Installing .NET version 3.0 ..." 108 | 109 | 110 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/2.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/2.0/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | "Accept? (y/N): " { 14 | exp_send "y\r" 15 | exp_continue 16 | } 17 | "Review licenses that have not been accepted (y/N)? " { 18 | exp_send "y\r" 19 | exp_continue 20 | } 21 | eof 22 | } 23 | 24 | lassign [wait] pid spawnid os_error waitvalue 25 | 26 | if {$os_error == 0} { 27 | exit $waitvalue 28 | } else { 29 | exit 1 30 | } 31 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/2.0/tools/runtime_configs/php/7.3.13: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-libedit" 3 | configure_option "--with-password-argon2" 4 | configure_option "--with-pdo-pgsql" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.13 9 | #Don't change beyond this line 10 | 11 | configure_option "--without-pear" 12 | configure_option "--with-gd" 13 | configure_option "--with-png-dir" "/usr" 14 | configure_option "--with-jpeg-dir" "/usr" 15 | configure_option "--enable-zip" 16 | 17 | install_package "https://secure.php.net/distributions/php-7.3.13.tar.bz2" 18 | #install_xdebug "2.9.0" 19 | #enable_builtin_opcache 20 | 21 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/2.0/tools/runtime_configs/php/7.4.1: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.1 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | 15 | install_package "https://secure.php.net/distributions/php-7.4.1.tar.bz2" 16 | #install_xdebug "2.9.0" 17 | #enable_builtin_opcache 18 | 19 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/2.0/tools/runtime_configs/python/3.7.10: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.7.10 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.0j" "https://www.openssl.org/source/old/1.1.0/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.7.10" "https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tar.xz#f8d82e7572c86ec9d55c8627aae5040124fd2203af400c383c821b980306ee6b" standard verify_py37 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.7.10" "https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tgz#c9649ad84dc3a434c8637df6963100b2e5608697f9ba56d82e3809e4148e0975" standard verify_py37 copy_python_gdb ensurepip 17 | fi 18 | 19 | 20 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/2.0/tools/runtime_configs/python/3.8.10: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.10 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.8.10" "https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tar.xz#6af24a66093dd840bcccf371d4044a3027e655cf24591ce26e48022bc79219d9" standard verify_py38 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.8.10" "https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tgz#b37ac74d2cbad2590e7cd0dd2b3826c29afe89a734090a87bf8c03c45066cb65" standard verify_py38 copy_python_gdb ensurepip 17 | fi 18 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/2.0/tools/runtime_configs/python/3.9.5: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.9.5 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz#0c5a140665436ec3dbfbb79e2dfb6d192655f26ef4a29aeffcb6d1820d716d83" standard verify_py39 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tgz#e0fbd5b6e1ee242524430dee3c91baf4cbbaba4a72dd1674b90fda87b713c7ab" standard verify_py39 copy_python_gdb ensurepip 17 | fi 18 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/3.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/3.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/3.0/legal/THIRD_PARTY_LICENSES.txt: -------------------------------------------------------------------------------- 1 | Third Party Licenses 2 | ==================== 3 | 4 | Stunnel: 5 | We include unmodified version of stunnel softwares in the docker images. The source code for the current version can be downloaded from https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/stunnel-5.56.tar.gz 6 | 7 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/3.0/runtimes.yml: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | 3 | runtimes: 4 | android: 5 | versions: 6 | 28: 7 | requires: 8 | java: ["corretto8"] 9 | commands: 10 | - echo "Installing Android version 28 ..." 11 | 29: 12 | requires: 13 | java: ["corretto8"] 14 | commands: 15 | - echo "Installing Android version 29 ..." 16 | java: 17 | versions: 18 | corretto11: 19 | commands: 20 | - echo "Installing corretto(OpenJDK) version 11 ..." 21 | 22 | - export JAVA_HOME="$JAVA_11_HOME" 23 | 24 | - export JRE_HOME="$JRE_11_HOME" 25 | 26 | - export JDK_HOME="$JDK_11_HOME" 27 | 28 | - |- 29 | for tool_path in "$JAVA_HOME"/bin/*; 30 | do tool=`basename "$tool_path"`; 31 | if [ $tool != 'java-rmi.cgi' ]; 32 | then 33 | rm -f /usr/bin/$tool /var/lib/alternatives/$tool \ 34 | && update-alternatives --install /usr/bin/$tool $tool $tool_path 20000; 35 | fi; 36 | done 37 | corretto8: 38 | commands: 39 | - echo "Installing corretto(OpenJDK) version 8 ..." 40 | 41 | - export JAVA_HOME="$JAVA_8_HOME" 42 | 43 | - export JRE_HOME="$JRE_8_HOME" 44 | 45 | - export JDK_HOME="$JDK_8_HOME" 46 | 47 | - |- 48 | for tool_path in "$JAVA_8_HOME"/bin/* "$JRE_8_HOME"/bin/*; 49 | do tool=`basename "$tool_path"`; 50 | if [ $tool != 'java-rmi.cgi' ]; 51 | then 52 | rm -f /usr/bin/$tool /var/lib/alternatives/$tool \ 53 | && update-alternatives --install /usr/bin/$tool $tool $tool_path 20000; 54 | fi; 55 | done 56 | golang: 57 | versions: 58 | 1.12: 59 | commands: 60 | - echo "Installing Go version 1.12 ..." 61 | - goenv global $GOLANG_12_VERSION 62 | 1.13: 63 | commands: 64 | - echo "Installing Go version 1.13 ..." 65 | - goenv global $GOLANG_13_VERSION 66 | 1.14: 67 | commands: 68 | - echo "Installing Go version 1.14 ..." 69 | - goenv global $GOLANG_14_VERSION 70 | python: 71 | versions: 72 | 3.9: 73 | commands: 74 | - echo "Installing Python version 3.9 ..." 75 | - pyenv global $PYTHON_39_VERSION 76 | 3.8: 77 | commands: 78 | - echo "Installing Python version 3.8 ..." 79 | - pyenv global $PYTHON_38_VERSION 80 | 3.7: 81 | commands: 82 | - echo "Installing Python version 3.7 ..." 83 | - pyenv global $PYTHON_37_VERSION 84 | php: 85 | versions: 86 | 7.4: 87 | commands: 88 | - echo "Installing PHP version 7.4 ..." 89 | - phpenv global $PHP_74_VERSION 90 | 7.3: 91 | commands: 92 | - echo "Installing PHP version 7.3 ..." 93 | - phpenv global $PHP_73_VERSION 94 | ruby: 95 | versions: 96 | 2.6: 97 | commands: 98 | - echo "Installing Ruby version 2.6 ..." 99 | - rbenv global $RUBY_26_VERSION 100 | 2.7: 101 | commands: 102 | - echo "Installing Ruby version 2.7 ..." 103 | - rbenv global $RUBY_27_VERSION 104 | nodejs: 105 | versions: 106 | 10: 107 | commands: 108 | - echo "Installing Node.js version 10 ..." 109 | - n $NODE_10_VERSION 110 | 12: 111 | commands: 112 | - echo "Installing Node.js version 12 ..." 113 | - n $NODE_12_VERSION 114 | docker: 115 | versions: 116 | 18: 117 | commands: 118 | - echo "Using Docker 19" 119 | 19: 120 | commands: 121 | - echo "Using Docker 19" 122 | dotnet: 123 | versions: 124 | 3.1: 125 | commands: 126 | - echo "Installing .NET version 3.1 ..." 127 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/3.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/3.0/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | "Accept? (y/N): " { 14 | exp_send "y\r" 15 | exp_continue 16 | } 17 | "Review licenses that have not been accepted (y/N)? " { 18 | exp_send "y\r" 19 | exp_continue 20 | } 21 | eof 22 | } 23 | 24 | lassign [wait] pid spawnid os_error waitvalue 25 | 26 | if {$os_error == 0} { 27 | exit $waitvalue 28 | } else { 29 | exit 1 30 | } 31 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/3.0/tools/runtime_configs/php/7.3.33: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-libedit" 3 | configure_option "--with-password-argon2" 4 | configure_option "--with-pdo-pgsql" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.33 9 | #Don't change beyond this line 10 | 11 | configure_option "--without-pear" 12 | configure_option "--with-gd" 13 | configure_option "--with-png-dir" "/usr" 14 | configure_option "--with-jpeg-dir" "/usr" 15 | configure_option "--enable-zip" 16 | 17 | install_package "https://secure.php.net/distributions/php-7.3.33.tar.bz2" 18 | install_xdebug "3.1.3" 19 | enable_builtin_opcache 20 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/3.0/tools/runtime_configs/php/7.4.33: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.33 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | 15 | install_package "https://secure.php.net/distributions/php-7.4.33.tar.bz2" 16 | install_xdebug "3.1.3" 17 | enable_builtin_opcache 18 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.7.13: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.7.13 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1n" "https://www.openssl.org/source/openssl-1.1.1n.tar.gz#40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.7.13" "https://www.python.org/ftp/python/3.7.13/Python-3.7.13.tar.xz#99f106275df8899c3e8cb9d7c01ce686c202ef275953301427194693de5bef84" standard verify_py37 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.7.13" "https://www.python.org/ftp/python/3.7.13/Python-3.7.13.tgz#e405417f50984bc5870c7e7a9f9aeb93e9d270f5ac67f667a0cd3a09439682b5" standard verify_py37 copy_python_gdb ensurepip 17 | fi 18 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.8.13: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.13 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1n" "https://www.openssl.org/source/openssl-1.1.1n.tar.gz#40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.8.13" "https://www.python.org/ftp/python/3.8.13/Python-3.8.13.tar.xz#6f309077012040aa39fe8f0c61db8c0fa1c45136763299d375c9e5756f09cf57" standard verify_py38 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.8.13" "https://www.python.org/ftp/python/3.8.13/Python-3.8.13.tgz#903b92d76354366b1d9c4434d0c81643345cef87c1600adfa36095d7b00eede4" standard verify_py38 copy_python_gdb ensurepip 17 | fi 18 | -------------------------------------------------------------------------------- /unsupported_images/al2/x86_64/standard/3.0/tools/runtime_configs/python/3.9.16: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.9.16 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1n" "https://www.openssl.org/source/openssl-1.1.1n.tar.gz#40dceb51a4f6a5275bde0e6bf20ef4b91bfc32ed57c0552e2e8e15463372b17a" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.9.16" "https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tar.xz#22dddc099246dd2760665561e8adb7394ea0cc43a72684c6480f9380f7786439" standard verify_py39 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.9.16" "https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tgz#1ad539e9dbd2b42df714b69726e0693bc6b9d2d2c8e91c2e43204026605140c5" standard verify_py39 copy_python_gdb ensurepip 17 | fi 18 | -------------------------------------------------------------------------------- /unsupported_images/android-java-6/24.4.1/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | eof 14 | } 15 | -------------------------------------------------------------------------------- /unsupported_images/android-java-7/24.4.1/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | eof 14 | } 15 | -------------------------------------------------------------------------------- /unsupported_images/android-java-8/24.4.1/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/android-java-8/24.4.1/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | eof 14 | } 15 | -------------------------------------------------------------------------------- /unsupported_images/android-java-8/26.1.1/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/android-java-8/26.1.1/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | "Accept? (y/N): " { 14 | exp_send "y\r" 15 | exp_continue 16 | } 17 | "Review licenses that have not been accepted (y/N)? " { 18 | exp_send "y\r" 19 | exp_continue 20 | } 21 | eof 22 | } 23 | -------------------------------------------------------------------------------- /unsupported_images/docker/1.12.1/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dind docker daemon \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://0.0.0.0:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/docker/17.09.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/docker/18.09.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/docker/18.09.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/dot-net/core-1/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/dot-net/core-2.1/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/dot-net/core-2/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/golang/1.10/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/golang/1.11/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/golang/1.11/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/golang/1.5.4/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. 2 | # 3 | # Licensed under the Amazon Software License (the "License"). You may not use this file except in compliance with the License. 4 | # A copy of the License is located at 5 | # 6 | # http://aws.amazon.com/asl/ 7 | # 8 | # or in the "license" file accompanying this file. 9 | # This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. 10 | # See the License for the specific language governing permissions and limitations under the License. 11 | # 12 | 13 | FROM ubuntu:14.04.5 14 | 15 | # Building git from source code: 16 | # Ubuntu's default git package is built with broken gnutls. Rebuild git with openssl. 17 | ########################################################################## 18 | RUN apt-get update \ 19 | && apt-get install -y --no-install-recommends \ 20 | wget=1.15-* python=2.7.5-* python2.7-dev=2.7.6-* fakeroot=1.20-* ca-certificates \ 21 | tar=1.27.1-* gzip=1.6-* zip=3.0-* autoconf=2.69-* automake=1:1.14.1-* \ 22 | bzip2=1.0.6-* file=1:5.14-* g++=4:4.8.2-* gcc=4:4.8.2-* imagemagick=8:6.7.7.10-* \ 23 | libbz2-dev=1.0.6-* libc6-dev=2.19-* libcurl4-openssl-dev=7.35.0-* libdb-dev=1:5.3.21~* \ 24 | libevent-dev=2.0.21-stable-* libffi-dev=3.1~rc1+r3.0.13-* libgeoip-dev=1.6.0-* libglib2.0-dev=2.40.2-* \ 25 | libjpeg-dev=8c-* libkrb5-dev=1.12+dfsg-* liblzma-dev=5.1.1alpha+20120614-* \ 26 | libmagickcore-dev=8:6.7.7.10-* libmagickwand-dev=8:6.7.7.10-* libmysqlclient-dev=5.5.59-* \ 27 | libncurses5-dev=5.9+20140118-* libpng12-dev=1.2.50-* libpq-dev=9.3.20-* libreadline-dev=6.3-* \ 28 | libsqlite3-dev=3.8.2-* libssl-dev=1.0.1f-* libtool=2.4.2-* libwebp-dev=0.4.0-* \ 29 | libxml2-dev=2.9.1+dfsg1-* libxslt1-dev=1.1.28-* libyaml-dev=0.1.4-* make=3.81-* \ 30 | patch=2.7.1-* xz-utils=5.1.1alpha+20120614-* zlib1g-dev=1:1.2.8.dfsg-* unzip=6.0-* curl=7.35.0-* \ 31 | && apt-get install -y -qq less=458-* groff=1.22.2-* \ 32 | && apt-get -qy build-dep git=1:1.9.1 \ 33 | && apt-get -qy install libcurl4-openssl-dev=7.35.0-* git-man=1:1.9.1-* liberror-perl=0.17-* \ 34 | && mkdir -p /usr/src/git-openssl \ 35 | && cd /usr/src/git-openssl \ 36 | && apt-get source git=1:1.9.1 \ 37 | && cd $(find -mindepth 1 -maxdepth 1 -type d -name "git-*") \ 38 | && sed -i -- 's/libcurl4-gnutls-dev/libcurl4-openssl-dev/' ./debian/control \ 39 | && sed -i -- '/TEST\s*=\s*test/d' ./debian/rules \ 40 | && dpkg-buildpackage -rfakeroot -b \ 41 | && find .. -type f -name "git_*ubuntu*.deb" -exec dpkg -i \{\} \; \ 42 | && rm -rf /usr/src/git-openssl \ 43 | # Install dependencies by all python images equivalent to buildpack-deps:jessie 44 | # on the public repos. 45 | && rm -rf /var/lib/apt/lists/* \ 46 | && apt-get clean 47 | 48 | RUN wget "https://bootstrap.pypa.io/get-pip.py" -O /tmp/get-pip.py \ 49 | && python /tmp/get-pip.py \ 50 | && pip install awscli==1.11.157 \ 51 | && rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/* 52 | 53 | 54 | ENV GOLANG_VERSION="1.5.4" \ 55 | GOLANG_DOWNLOAD_SHA256="a3358721210787dc1e06f5ea1460ae0564f22a0fbd91be9dcd947fb1d19b9560" \ 56 | GOPATH="/go" 57 | 58 | RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" \ 59 | && chmod -R 777 "$GOPATH" \ 60 | && apt-get update && apt-get install -y --no-install-recommends \ 61 | pkg-config=0.26-* \ 62 | && apt-get clean \ 63 | && wget "https://storage.googleapis.com/golang/go$GOLANG_VERSION.linux-amd64.tar.gz" -O /tmp/golang.tar.gz \ 64 | && echo "$GOLANG_DOWNLOAD_SHA256 /tmp/golang.tar.gz" | sha256sum -c - \ 65 | && tar -xzf /tmp/golang.tar.gz -C /usr/local \ 66 | && rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/* 67 | 68 | ENV PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" 69 | 70 | WORKDIR $GOPATH 71 | -------------------------------------------------------------------------------- /unsupported_images/golang/1.6.3/Dockerfile: -------------------------------------------------------------------------------- 1 | # Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. 2 | # 3 | # Licensed under the Amazon Software License (the "License"). You may not use this file except in compliance with the License. 4 | # A copy of the License is located at 5 | # 6 | # http://aws.amazon.com/asl/ 7 | # 8 | # or in the "license" file accompanying this file. 9 | # This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. 10 | # See the License for the specific language governing permissions and limitations under the License. 11 | # 12 | 13 | FROM ubuntu:14.04.5 14 | 15 | # Building git from source code: 16 | # Ubuntu's default git package is built with broken gnutls. Rebuild git with openssl. 17 | ########################################################################## 18 | RUN apt-get update \ 19 | && apt-get install -y --no-install-recommends \ 20 | wget=1.15-* python=2.7.5-* python2.7-dev=2.7.6-* fakeroot=1.20-* ca-certificates \ 21 | tar=1.27.1-* gzip=1.6-* zip=3.0-* autoconf=2.69-* automake=1:1.14.1-* \ 22 | bzip2=1.0.6-* file=1:5.14-* g++=4:4.8.2-* gcc=4:4.8.2-* imagemagick=8:6.7.7.10-* \ 23 | libbz2-dev=1.0.6-* libc6-dev=2.19-* libcurl4-openssl-dev=7.35.0-* libdb-dev=1:5.3.21~* \ 24 | libevent-dev=2.0.21-stable-* libffi-dev=3.1~rc1+r3.0.13-* libgeoip-dev=1.6.0-* libglib2.0-dev=2.40.2-* \ 25 | libjpeg-dev=8c-* libkrb5-dev=1.12+dfsg-* liblzma-dev=5.1.1alpha+20120614-* \ 26 | libmagickcore-dev=8:6.7.7.10-* libmagickwand-dev=8:6.7.7.10-* libmysqlclient-dev=5.5.59-* \ 27 | libncurses5-dev=5.9+20140118-* libpng12-dev=1.2.50-* libpq-dev=9.3.20-* libreadline-dev=6.3-* \ 28 | libsqlite3-dev=3.8.2-* libssl-dev=1.0.1f-* libtool=2.4.2-* libwebp-dev=0.4.0-* \ 29 | libxml2-dev=2.9.1+dfsg1-* libxslt1-dev=1.1.28-* libyaml-dev=0.1.4-* make=3.81-* \ 30 | patch=2.7.1-* xz-utils=5.1.1alpha+20120614-* zlib1g-dev=1:1.2.8.dfsg-* unzip=6.0-* curl=7.35.0-* \ 31 | && apt-get install -y -qq less=458-* groff=1.22.2-* \ 32 | && apt-get -qy build-dep git=1:1.9.1 \ 33 | && apt-get -qy install libcurl4-openssl-dev=7.35.0-* git-man=1:1.9.1-* liberror-perl=0.17-* \ 34 | && mkdir -p /usr/src/git-openssl \ 35 | && cd /usr/src/git-openssl \ 36 | && apt-get source git=1:1.9.1 \ 37 | && cd $(find -mindepth 1 -maxdepth 1 -type d -name "git-*") \ 38 | && sed -i -- 's/libcurl4-gnutls-dev/libcurl4-openssl-dev/' ./debian/control \ 39 | && sed -i -- '/TEST\s*=\s*test/d' ./debian/rules \ 40 | && dpkg-buildpackage -rfakeroot -b \ 41 | && find .. -type f -name "git_*ubuntu*.deb" -exec dpkg -i \{\} \; \ 42 | && rm -rf /usr/src/git-openssl \ 43 | # Install dependencies by all python images equivalent to buildpack-deps:jessie 44 | # on the public repos. 45 | && rm -rf /var/lib/apt/lists/* \ 46 | && apt-get clean 47 | 48 | RUN wget "https://bootstrap.pypa.io/get-pip.py" -O /tmp/get-pip.py \ 49 | && python /tmp/get-pip.py \ 50 | && pip install awscli==1.11.157 \ 51 | && rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/* 52 | 53 | 54 | ENV GOLANG_VERSION="1.6.3" \ 55 | GOLANG_DOWNLOAD_SHA256="cdde5e08530c0579255d6153b08fdb3b8e47caabbe717bc7bcd7561275a87aeb" \ 56 | GOPATH="/go" 57 | 58 | RUN mkdir -p "$GOPATH/src" "$GOPATH/bin" \ 59 | && chmod -R 777 "$GOPATH" \ 60 | && apt-get update && apt-get install -y --no-install-recommends \ 61 | pkg-config=0.26-* \ 62 | && apt-get clean \ 63 | && wget "https://storage.googleapis.com/golang/go$GOLANG_VERSION.linux-amd64.tar.gz" -O /tmp/golang.tar.gz \ 64 | && echo "$GOLANG_DOWNLOAD_SHA256 /tmp/golang.tar.gz" | sha256sum -c - \ 65 | && tar -xzf /tmp/golang.tar.gz -C /usr/local \ 66 | && rm -fr /var/lib/apt/lists/* /tmp/* /var/tmp/* 67 | 68 | ENV PATH="$GOPATH/bin:/usr/local/go/bin:$PATH" 69 | 70 | WORKDIR $GOPATH 71 | -------------------------------------------------------------------------------- /unsupported_images/golang/1.7.3/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://0.0.0.0:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/java/openjdk-11/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/java/openjdk-11/m2-settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | securecentral 5 | 6 | true 7 | 8 | 10 | 11 | 12 | central 13 | https://repo1.maven.org/maven2 14 | 15 | true 16 | 17 | 18 | 19 | 20 | 21 | central 22 | https://repo1.maven.org/maven2 23 | 24 | true 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /unsupported_images/java/openjdk-11/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/java/openjdk-6/m2-settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | securecentral 5 | 6 | 7 | 8 | securecentral 9 | 11 | 12 | 13 | central 14 | https://repo1.maven.org/maven2 15 | 16 | true 17 | 18 | 19 | 20 | 21 | 22 | central 23 | https://repo1.maven.org/maven2 24 | 25 | true 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /unsupported_images/java/openjdk-7/m2-settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | securecentral 5 | 6 | 7 | 8 | securecentral 9 | 11 | 12 | 13 | central 14 | https://repo1.maven.org/maven2 15 | 16 | true 17 | 18 | 19 | 20 | 21 | 22 | central 23 | https://repo1.maven.org/maven2 24 | 25 | true 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /unsupported_images/java/openjdk-8/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/java/openjdk-8/m2-settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | securecentral 5 | 6 | true 7 | 8 | 10 | 11 | 12 | central 13 | https://repo1.maven.org/maven2 14 | 15 | true 16 | 17 | 18 | 19 | 20 | 21 | central 22 | https://repo1.maven.org/maven2 23 | 24 | true 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /unsupported_images/java/openjdk-9/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/java/openjdk-9/m2-settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | securecentral 5 | 6 | true 7 | 8 | 10 | 11 | 12 | central 13 | https://repo1.maven.org/maven2 14 | 15 | true 16 | 17 | 18 | 19 | 20 | 21 | central 22 | https://repo1.maven.org/maven2 23 | 24 | true 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /unsupported_images/nodejs/10.1.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/nodejs/10.14.1/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/nodejs/10.14.1/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/nodejs/4.3.2/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://0.0.0.0:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/nodejs/4.4.7/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://0.0.0.0:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/nodejs/6.3.1/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/nodejs/8.11.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/php/5.6/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/php/7.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/php/7.1/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/php/7.1/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/python/2.7.12/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/python/3.3.6/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/python/3.4.5/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/python/3.5.2/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/python/3.6.5/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/python/3.7.1/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/python/3.7.1/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/ruby/2.2.5/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/ruby/2.3.1/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/ruby/2.5.1/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/ruby/2.5.3/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/ruby/2.5.3/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu-base/14.04/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/1.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/1.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/1.0/legal/THIRD_PARTY_LICENSES.txt: -------------------------------------------------------------------------------- 1 | Third Party Licenses 2 | ==================== 3 | 4 | Stunnel: 5 | We include unmodified version of stunnel softwares in the docker images. The source code for the current version can be downloaded from https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/stunnel-5.56.tar.gz 6 | 7 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/1.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/1.0/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | "Accept? (y/N): " { 14 | exp_send "y\r" 15 | exp_continue 16 | } 17 | "Review licenses that have not been accepted (y/N)? " { 18 | exp_send "y\r" 19 | exp_continue 20 | } 21 | eof 22 | } 23 | 24 | lassign [wait] pid spawnid os_error waitvalue 25 | 26 | if {$os_error == 0} { 27 | exit $waitvalue 28 | } else { 29 | exit 1 30 | } 31 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/1.0/tools/runtime_configs/php/7.3.13: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-libedit" 3 | configure_option "--with-password-argon2" 4 | configure_option "--with-pdo-pgsql" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.13 9 | #Don't change beyond this line 10 | 11 | configure_option "--without-pear" 12 | configure_option "--with-gd" 13 | configure_option "--with-png-dir" "/usr" 14 | configure_option "--with-jpeg-dir" "/usr" 15 | configure_option "--enable-zip" 16 | 17 | install_package "https://secure.php.net/distributions/php-7.3.13.tar.bz2" 18 | #install_xdebug "2.9.0" 19 | #enable_builtin_opcache 20 | 21 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/1.0/tools/runtime_configs/php/7.4.1: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.1 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | 15 | install_package "https://secure.php.net/distributions/php-7.4.1.tar.bz2" 16 | #install_xdebug "2.9.0" 17 | #enable_builtin_opcache 18 | 19 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/1.0/tools/runtime_configs/python/3.7.6: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.7.6 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.0j" "https://www.openssl.org/source/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.7.6" "https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tar.xz#55a2cce72049f0794e9a11a84862e9039af9183603b78bc60d89539f82cf533f" standard verify_py37 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.7.6" "https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tgz#aeee681c235ad336af116f08ab6563361a0c81c537072c1b309d6e4050aa2114" standard verify_py37 copy_python_gdb ensurepip 17 | fi 18 | 19 | 20 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/1.0/tools/runtime_configs/python/3.8.1: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.1 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.0j" "https://www.openssl.org/source/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.8.1" "https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz#75894117f6db7051c1b34f37410168844bbb357c139a8a10a352e9bf8be594e8" standard verify_py38 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.8.1" "https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz#c7cfa39a43b994621b245e029769e9126caa2a93571cee2e743b213cceac35fb" standard verify_py38 copy_python_gdb ensurepip 17 | fi 18 | 19 | 20 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/2.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/2.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/2.0/legal/THIRD_PARTY_LICENSES.txt: -------------------------------------------------------------------------------- 1 | Third Party Licenses 2 | ==================== 3 | 4 | Stunnel: 5 | We include unmodified version of stunnel softwares in the docker images. The source code for the current version can be downloaded from https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/stunnel-5.56.tar.gz 6 | 7 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/2.0/runtimes.yml: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | 3 | runtimes: 4 | android: 5 | versions: 6 | 28: 7 | requires: 8 | java: ["openjdk8"] 9 | commands: 10 | - echo "Installing Android version 28 ..." 11 | 29: 12 | requires: 13 | java: ["openjdk8"] 14 | commands: 15 | - echo "Installing Android version 29 ..." 16 | 17 | java: 18 | versions: 19 | openjdk11: 20 | commands: 21 | - echo "Installing Java version 11 ..." 22 | 23 | - export JAVA_HOME="$JAVA_11_HOME" 24 | 25 | - export JRE_HOME="$JRE_11_HOME" 26 | 27 | - export JDK_HOME="$JDK_11_HOME" 28 | 29 | - |- 30 | for tool_path in "$JAVA_HOME"/bin/*; 31 | do tool=`basename "$tool_path"`; 32 | if [ $tool != 'java-rmi.cgi' ]; 33 | then 34 | update-alternatives --list "$tool" | grep -q "$tool_path" \ 35 | && update-alternatives --set "$tool" "$tool_path"; 36 | fi; 37 | done 38 | openjdk8: 39 | commands: 40 | - echo "Installing Java version 8 ..." 41 | 42 | - export JAVA_HOME="$JAVA_8_HOME" 43 | 44 | - export JRE_HOME="$JRE_8_HOME" 45 | 46 | - export JDK_HOME="$JDK_8_HOME" 47 | 48 | - |- 49 | for tool_path in "$JAVA_8_HOME"/bin/* "$JRE_8_HOME"/bin/*; 50 | do tool=`basename "$tool_path"`; 51 | if [ $tool != 'java-rmi.cgi' ]; 52 | then 53 | update-alternatives --list "$tool" | grep -q "$tool_path" \ 54 | && update-alternatives --set "$tool" "$tool_path"; 55 | fi; 56 | done 57 | golang: 58 | versions: 59 | 1.12: 60 | commands: 61 | - echo "Installing Go version 1.12 ..." 62 | - goenv global $GOLANG_12_VERSION 63 | 1.13: 64 | commands: 65 | - echo "Installing Go version 1.13 ..." 66 | - goenv global $GOLANG_13_VERSION 67 | python: 68 | versions: 69 | 3.7: 70 | commands: 71 | - echo "Installing Python version 3.7 ..." 72 | - pyenv global $PYTHON_37_VERSION 73 | php: 74 | versions: 75 | 7.3: 76 | commands: 77 | - echo "Installing PHP version 7.3 ..." 78 | - phpenv global $PHP_73_VERSION 79 | ruby: 80 | versions: 81 | 2.6: 82 | commands: 83 | - echo "Installing Ruby version 2.6 ..." 84 | - rbenv global $RUBY_26_VERSION 85 | nodejs: 86 | versions: 87 | 10: 88 | commands: 89 | - echo "Installing Node.js version 10 ..." 90 | - n $NODE_10_VERSION 91 | 8: 92 | commands: 93 | - echo "Installing Node.js version 8 ..." 94 | - n $NODE_8_VERSION 95 | docker: 96 | versions: 97 | 18: 98 | commands: 99 | - echo "Installing Docker version 18 ..." 100 | dotnet: 101 | versions: 102 | 2.2: 103 | commands: 104 | - echo "Installing .NET version 2.2 ..." 105 | 106 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/2.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/2.0/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | "Accept? (y/N): " { 14 | exp_send "y\r" 15 | exp_continue 16 | } 17 | "Review licenses that have not been accepted (y/N)? " { 18 | exp_send "y\r" 19 | exp_continue 20 | } 21 | eof 22 | } 23 | 24 | lassign [wait] pid spawnid os_error waitvalue 25 | 26 | if {$os_error == 0} { 27 | exit $waitvalue 28 | } else { 29 | exit 1 30 | } 31 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/2.0/tools/runtime_configs/php/7.3.13: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-libedit" 3 | configure_option "--with-password-argon2" 4 | configure_option "--with-pdo-pgsql" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.13 9 | #Don't change beyond this line 10 | 11 | configure_option "--without-pear" 12 | configure_option "--with-gd" 13 | configure_option "--with-png-dir" "/usr" 14 | configure_option "--with-jpeg-dir" "/usr" 15 | configure_option "--enable-zip" 16 | 17 | install_package "https://secure.php.net/distributions/php-7.3.13.tar.bz2" 18 | #install_xdebug "2.9.0" 19 | #enable_builtin_opcache 20 | 21 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/2.0/tools/runtime_configs/php/7.4.1: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.1 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | 15 | install_package "https://secure.php.net/distributions/php-7.4.1.tar.bz2" 16 | #install_xdebug "2.9.0" 17 | #enable_builtin_opcache 18 | 19 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/2.0/tools/runtime_configs/python/3.7.6: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.7.6 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.0j" "https://www.openssl.org/source/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.7.6" "https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tar.xz#55a2cce72049f0794e9a11a84862e9039af9183603b78bc60d89539f82cf533f" standard verify_py37 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.7.6" "https://www.python.org/ftp/python/3.7.6/Python-3.7.6.tgz#aeee681c235ad336af116f08ab6563361a0c81c537072c1b309d6e4050aa2114" standard verify_py37 copy_python_gdb ensurepip 17 | fi 18 | 19 | 20 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/2.0/tools/runtime_configs/python/3.8.1: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.1 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.0j" "https://www.openssl.org/source/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.8.1" "https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz#75894117f6db7051c1b34f37410168844bbb357c139a8a10a352e9bf8be594e8" standard verify_py38 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.8.1" "https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz#c7cfa39a43b994621b245e029769e9126caa2a93571cee2e743b213cceac35fb" standard verify_py38 copy_python_gdb ensurepip 17 | fi 18 | 19 | 20 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/3.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/3.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/3.0/legal/THIRD_PARTY_LICENSES.txt: -------------------------------------------------------------------------------- 1 | Third Party Licenses 2 | ==================== 3 | 4 | Stunnel: 5 | We include unmodified version of stunnel softwares in the docker images. The source code for the current version can be downloaded from https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/stunnel-5.56.tar.gz 6 | 7 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/3.0/runtimes.yml: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | 3 | runtimes: 4 | android: 5 | versions: 6 | 28: 7 | requires: 8 | java: ["openjdk8"] 9 | commands: 10 | - echo "Installing Android version 28 ..." 11 | 29: 12 | requires: 13 | java: ["openjdk8"] 14 | commands: 15 | - echo "Installing Android version 29 ..." 16 | 17 | java: 18 | versions: 19 | openjdk11: 20 | commands: 21 | - echo "Installing Java version 11 ..." 22 | 23 | - export JAVA_HOME="$JAVA_11_HOME" 24 | 25 | - export JRE_HOME="$JRE_11_HOME" 26 | 27 | - export JDK_HOME="$JDK_11_HOME" 28 | 29 | - |- 30 | for tool_path in "$JAVA_HOME"/bin/*; 31 | do tool=`basename "$tool_path"`; 32 | if [ $tool != 'java-rmi.cgi' ]; 33 | then 34 | update-alternatives --list "$tool" | grep -q "$tool_path" \ 35 | && update-alternatives --set "$tool" "$tool_path"; 36 | fi; 37 | done 38 | openjdk8: 39 | commands: 40 | - echo "Installing Java version 8 ..." 41 | 42 | - export JAVA_HOME="$JAVA_8_HOME" 43 | 44 | - export JRE_HOME="$JRE_8_HOME" 45 | 46 | - export JDK_HOME="$JDK_8_HOME" 47 | 48 | - |- 49 | for tool_path in "$JAVA_8_HOME"/bin/* "$JRE_8_HOME"/bin/*; 50 | do tool=`basename "$tool_path"`; 51 | if [ $tool != 'java-rmi.cgi' ]; 52 | then 53 | update-alternatives --list "$tool" | grep -q "$tool_path" \ 54 | && update-alternatives --set "$tool" "$tool_path"; 55 | fi; 56 | done 57 | golang: 58 | versions: 59 | 1.12: 60 | commands: 61 | - echo "Installing Go version 1.12 ..." 62 | - goenv global $GOLANG_12_VERSION 63 | 1.13: 64 | commands: 65 | - echo "Installing Go version 1.13 ..." 66 | - goenv global $GOLANG_13_VERSION 67 | python: 68 | versions: 69 | 3.8: 70 | commands: 71 | - echo "Installing Python version 3.8 ..." 72 | - pyenv global $PYTHON_38_VERSION 73 | 3.9: 74 | commands: 75 | - echo "Installing Python version 3.9 ..." 76 | - pyenv global $PYTHON_39_VERSION 77 | php: 78 | versions: 79 | 7.3: 80 | commands: 81 | - echo "Installing PHP version 7.3 ..." 82 | - phpenv global $PHP_73_VERSION 83 | ruby: 84 | versions: 85 | 2.6: 86 | commands: 87 | - echo "Installing Ruby version 2.6 ..." 88 | - rbenv global $RUBY_26_VERSION 89 | nodejs: 90 | versions: 91 | 10: 92 | commands: 93 | - echo "Installing Node.js version 10 ..." 94 | - n $NODE_10_VERSION 95 | 12: 96 | commands: 97 | - echo "Installing Node.js version 12 ..." 98 | - n $NODE_12_VERSION 99 | docker: 100 | versions: 101 | 18: 102 | commands: 103 | - echo "Specifying docker version in buildspec is deprecated. Using docker $DOCKER_VERSION ." 104 | dotnet: 105 | versions: 106 | 3.0: 107 | commands: 108 | - echo "Installing .NET version 3.0 ..." 109 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/3.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/3.0/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | "Accept? (y/N): " { 14 | exp_send "y\r" 15 | exp_continue 16 | } 17 | "Review licenses that have not been accepted (y/N)? " { 18 | exp_send "y\r" 19 | exp_continue 20 | } 21 | eof 22 | } 23 | 24 | lassign [wait] pid spawnid os_error waitvalue 25 | 26 | if {$os_error == 0} { 27 | exit $waitvalue 28 | } else { 29 | exit 1 30 | } 31 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/3.0/tools/runtime_configs/php/7.3.13: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-libedit" 3 | configure_option "--with-password-argon2" 4 | configure_option "--with-pdo-pgsql" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.13 9 | #Don't change beyond this line 10 | 11 | configure_option "--without-pear" 12 | configure_option "--with-gd" 13 | configure_option "--with-png-dir" "/usr" 14 | configure_option "--with-jpeg-dir" "/usr" 15 | configure_option "--enable-zip" 16 | 17 | install_package "https://secure.php.net/distributions/php-7.3.13.tar.bz2" 18 | #install_xdebug "2.9.0" 19 | #enable_builtin_opcache 20 | 21 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/3.0/tools/runtime_configs/php/7.4.1: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.1 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | 15 | install_package "https://secure.php.net/distributions/php-7.4.1.tar.bz2" 16 | #install_xdebug "2.9.0" 17 | #enable_builtin_opcache 18 | 19 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/3.0/tools/runtime_configs/python/3.7.10: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.7.10 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.0j" "https://www.openssl.org/source/old/1.1.0/openssl-1.1.0j.tar.gz#31bec6c203ce1a8e93d5994f4ed304c63ccf07676118b6634edded12ad1b3246" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.7.10" "https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tar.xz#f8d82e7572c86ec9d55c8627aae5040124fd2203af400c383c821b980306ee6b" standard verify_py37 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.7.10" "https://www.python.org/ftp/python/3.7.10/Python-3.7.10.tgz#c9649ad84dc3a434c8637df6963100b2e5608697f9ba56d82e3809e4148e0975" standard verify_py37 copy_python_gdb ensurepip 17 | fi 18 | 19 | 20 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/3.0/tools/runtime_configs/python/3.8.10: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.10 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.8.10" "https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tar.xz#6af24a66093dd840bcccf371d4044a3027e655cf24591ce26e48022bc79219d9" standard verify_py38 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.8.10" "https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tgz#b37ac74d2cbad2590e7cd0dd2b3826c29afe89a734090a87bf8c03c45066cb65" standard verify_py38 copy_python_gdb ensurepip 17 | fi 18 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/3.0/tools/runtime_configs/python/3.9.5: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.9.5 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1k" "https://www.openssl.org/source/openssl-1.1.1k.tar.gz#892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.0" "https://ftpmirror.gnu.org/readline/readline-8.0.tar.gz#e339f51971478d369f8a053a330a190781acb9864cf4c541060f12078948e461" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tar.xz#0c5a140665436ec3dbfbb79e2dfb6d192655f26ef4a29aeffcb6d1820d716d83" standard verify_py39 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.9.5" "https://www.python.org/ftp/python/3.9.5/Python-3.9.5.tgz#e0fbd5b6e1ee242524430dee3c91baf4cbbaba4a72dd1674b90fda87b713c7ab" standard verify_py39 copy_python_gdb ensurepip 17 | fi 18 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/4.0/amazon-ssm-agent.json: -------------------------------------------------------------------------------- 1 | { 2 | "Profile":{ 3 | "ShareCreds" : true, 4 | "ShareProfile" : "" 5 | }, 6 | "Mds": { 7 | "CommandWorkersLimit" : 5, 8 | "StopTimeoutMillis" : 20000, 9 | "Endpoint": "", 10 | "CommandRetryLimit": 15 11 | }, 12 | "Ssm": { 13 | "Endpoint": "", 14 | "HealthFrequencyMinutes": 5, 15 | "CustomInventoryDefaultLocation" : "", 16 | "AssociationLogsRetentionDurationHours" : 24, 17 | "RunCommandLogsRetentionDurationHours" : 336, 18 | "SessionLogsRetentionDurationHours" : 336 19 | }, 20 | "Mgs": { 21 | "Region": "", 22 | "Endpoint": "", 23 | "StopTimeoutMillis" : 20000, 24 | "SessionWorkersLimit" : 1000 25 | }, 26 | "Agent": { 27 | "Region": "", 28 | "OrchestrationRootDir": "", 29 | "ContainerMode": true 30 | }, 31 | "Os": { 32 | "Lang": "en-US", 33 | "Name": "", 34 | "Version": "1" 35 | }, 36 | "S3": { 37 | "Endpoint": "", 38 | "Region": "", 39 | "LogBucket":"", 40 | "LogKey":"" 41 | }, 42 | "Kms": { 43 | "Endpoint": "" 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/4.0/dockerd-entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | /usr/local/bin/dockerd \ 5 | --host=unix:///var/run/docker.sock \ 6 | --host=tcp://127.0.0.1:2375 \ 7 | --storage-driver=overlay2 &>/var/log/docker.log & 8 | 9 | 10 | tries=0 11 | d_timeout=60 12 | until docker info >/dev/null 2>&1 13 | do 14 | if [ "$tries" -gt "$d_timeout" ]; then 15 | cat /var/log/docker.log 16 | echo 'Timed out trying to connect to internal docker host.' >&2 17 | exit 1 18 | fi 19 | tries=$(( $tries + 1 )) 20 | sleep 1 21 | done 22 | 23 | eval "$@" 24 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/4.0/legal/THIRD_PARTY_LICENSES.txt: -------------------------------------------------------------------------------- 1 | Third Party Licenses 2 | ==================== 3 | 4 | Stunnel: 5 | We include unmodified version of stunnel softwares in the docker images. The source code for the current version can be downloaded from https://www.usenix.org.uk/mirrors/stunnel/archive/5.x/stunnel-5.56.tar.gz 6 | 7 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/4.0/runtimes.yml: -------------------------------------------------------------------------------- 1 | version: 0.1 2 | 3 | runtimes: 4 | android: 5 | versions: 6 | 28: 7 | requires: 8 | java: ["corretto8"] 9 | commands: 10 | - echo "Installing Android version 28 ..." 11 | 29: 12 | requires: 13 | java: ["corretto8"] 14 | commands: 15 | - echo "Installing Android version 29 ..." 16 | 17 | java: 18 | versions: 19 | corretto11: 20 | commands: 21 | - echo "Installing Java version 11 ..." 22 | 23 | - export JAVA_HOME="$JAVA_11_HOME" 24 | 25 | - export JRE_HOME="$JRE_11_HOME" 26 | 27 | - export JDK_HOME="$JDK_11_HOME" 28 | 29 | - |- 30 | for tool_path in "$JAVA_HOME"/bin/*; 31 | do tool=`basename "$tool_path"`; 32 | if [ $tool != 'java-rmi.cgi' ]; 33 | then 34 | update-alternatives --list "$tool" | grep -q "$tool_path" \ 35 | && update-alternatives --set "$tool" "$tool_path"; 36 | fi; 37 | done 38 | corretto8: 39 | commands: 40 | - echo "Installing Java version 8 ..." 41 | 42 | - export JAVA_HOME="$JAVA_8_HOME" 43 | 44 | - export JRE_HOME="$JRE_8_HOME" 45 | 46 | - export JDK_HOME="$JDK_8_HOME" 47 | 48 | - |- 49 | for tool_path in "$JAVA_8_HOME"/bin/* "$JRE_8_HOME"/bin/*; 50 | do tool=`basename "$tool_path"`; 51 | if [ $tool != 'java-rmi.cgi' ]; 52 | then 53 | update-alternatives --list "$tool" | grep -q "$tool_path" \ 54 | && update-alternatives --set "$tool" "$tool_path"; 55 | fi; 56 | done 57 | golang: 58 | versions: 59 | 1.12: 60 | commands: 61 | - echo "Installing Go version 1.12 ..." 62 | - goenv global $GOLANG_12_VERSION 63 | 1.13: 64 | commands: 65 | - echo "Installing Go version 1.13 ..." 66 | - goenv global $GOLANG_13_VERSION 67 | 1.14: 68 | commands: 69 | - echo "Installing Go version 1.14 ..." 70 | - goenv global $GOLANG_14_VERSION 71 | python: 72 | versions: 73 | 3.9: 74 | commands: 75 | - echo "Installing Python version 3.9 ..." 76 | - pyenv global $PYTHON_39_VERSION 77 | 3.8: 78 | commands: 79 | - echo "Installing Python version 3.8 ..." 80 | - pyenv global $PYTHON_38_VERSION 81 | 3.7: 82 | commands: 83 | - echo "Installing Python version 3.7 ..." 84 | - pyenv global $PYTHON_37_VERSION 85 | php: 86 | versions: 87 | 7.4: 88 | commands: 89 | - echo "Installing PHP version 7.4 ..." 90 | - phpenv global $PHP_74_VERSION 91 | 7.3: 92 | commands: 93 | - echo "Installing PHP version 7.3 ..." 94 | - phpenv global $PHP_73_VERSION 95 | ruby: 96 | versions: 97 | 2.6: 98 | commands: 99 | - echo "Installing Ruby version 2.6 ..." 100 | - rbenv global $RUBY_26_VERSION 101 | 2.7: 102 | commands: 103 | - echo "Installing Ruby version 2.7 ..." 104 | - rbenv global $RUBY_27_VERSION 105 | nodejs: 106 | versions: 107 | 10: 108 | commands: 109 | - echo "Installing Node.js version 10 ..." 110 | - n $NODE_10_VERSION 111 | 12: 112 | commands: 113 | - echo "Installing Node.js version 12 ..." 114 | - n $NODE_12_VERSION 115 | docker: 116 | versions: 117 | 18: 118 | commands: 119 | - echo "Using Docker 19" 120 | 19: 121 | commands: 122 | - echo "Using Docker 19" 123 | dotnet: 124 | versions: 125 | 3.1: 126 | commands: 127 | - echo "Installing .NET version 3.1 ..." 128 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/4.0/ssh_config: -------------------------------------------------------------------------------- 1 | Host * 2 | ConnectTimeout 10 3 | ConnectionAttempts 10 4 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/4.0/tools/android-accept-licenses.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/expect -f 2 | 3 | set timeout 1800 4 | set cmd [lindex $argv 0] 5 | set licenses [lindex $argv 1] 6 | 7 | spawn {*}$cmd 8 | expect { 9 | "Do you accept the license '*'*" { 10 | exp_send "y\r" 11 | exp_continue 12 | } 13 | "Accept? (y/N): " { 14 | exp_send "y\r" 15 | exp_continue 16 | } 17 | "Review licenses that have not been accepted (y/N)? " { 18 | exp_send "y\r" 19 | exp_continue 20 | } 21 | eof 22 | } 23 | 24 | lassign [wait] pid spawnid os_error waitvalue 25 | 26 | if {$os_error == 0} { 27 | exit $waitvalue 28 | } else { 29 | exit 1 30 | } 31 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/4.0/tools/runtime_configs/php/7.3.33: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-libedit" 3 | configure_option "--with-password-argon2" 4 | configure_option "--with-pdo-pgsql" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.3.33 9 | #Don't change beyond this line 10 | 11 | configure_option "--without-pear" 12 | configure_option "--with-gd" 13 | configure_option "--with-png-dir" "/usr" 14 | configure_option "--with-jpeg-dir" "/usr" 15 | configure_option "--enable-zip" 16 | 17 | install_package "https://secure.php.net/distributions/php-7.3.33.tar.bz2" 18 | install_xdebug "3.1.3" 19 | enable_builtin_opcache 20 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/4.0/tools/runtime_configs/php/7.4.33: -------------------------------------------------------------------------------- 1 | configure_option "--with-curl" 2 | configure_option "--with-password-argon2" 3 | configure_option "--with-pdo-pgsql" 4 | configure_option "--with-libedit" 5 | 6 | PHP_BUILD_EXTRA_MAKE_ARGUMENTS="-j4" 7 | 8 | #https://github.com/php-build/php-build/blob/master/share/php-build/definitions/7.4.33 9 | #Don't change beyond this line 10 | 11 | configure_option "--enable-gd" 12 | configure_option "--with-jpeg" 13 | configure_option "--with-zip" 14 | 15 | install_package "https://secure.php.net/distributions/php-7.4.33.tar.bz2" 16 | install_xdebug "3.1.3" 17 | enable_builtin_opcache 18 | 19 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/4.0/tools/runtime_configs/python/3.7.16: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.7.16 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1q" "https://www.openssl.org/source/openssl-1.1.1q.tar.gz#d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.7.16" "https://www.python.org/ftp/python/3.7.16/Python-3.7.16.tar.xz#8338f0c2222d847e904c955369155dc1beeeed806e8d5ef04b00ef4787238bfd" standard verify_py37 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.7.16" "https://www.python.org/ftp/python/3.7.16/Python-3.7.16.tgz#0cf2da07fa464636755215415909e22eb1d058817af4824bc15af8390d05fb38" standard verify_py37 copy_python_gdb ensurepip 17 | fi 18 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/4.0/tools/runtime_configs/python/3.8.16: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.8.16 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1q" "https://www.openssl.org/source/openssl-1.1.1q.tar.gz#d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.8.16" "https://www.python.org/ftp/python/3.8.16/Python-3.8.16.tar.xz#d85dbb3774132473d8081dcb158f34a10ccad7a90b96c7e50ea4bb61f5ce4562" standard verify_py38 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.8.16" "https://www.python.org/ftp/python/3.8.16/Python-3.8.16.tgz#71ca9d935637ed2feb59e90a368361dc91eca472a90acb1d344a2e8178ccaf10" standard verify_py38 copy_python_gdb ensurepip 17 | fi 18 | -------------------------------------------------------------------------------- /unsupported_images/ubuntu/standard/4.0/tools/runtime_configs/python/3.9.16: -------------------------------------------------------------------------------- 1 | export PYTHON_CONFIGURE_OPTS="\ 2 | --enable-shared 3 | --enable-loadable-sqlite-extensions" 4 | 5 | # Don't change below this line. 6 | # https://github.com/pyenv/pyenv/blob/master/plugins/python-build/share/python-build/3.9.16 7 | 8 | #require_gcc 9 | prefer_openssl11 10 | export PYTHON_BUILD_CONFIGURE_WITH_OPENSSL=1 11 | install_package "openssl-1.1.1q" "https://www.openssl.org/source/openssl-1.1.1q.tar.gz#d7939ce614029cdff0b6c20f0e2e5703158a489a72b2507b8bd51bf8c8fd10ca" mac_openssl --if has_broken_mac_openssl 12 | install_package "readline-8.1" "https://ftpmirror.gnu.org/readline/readline-8.1.tar.gz#f8ceb4ee131e3232226a17f51b164afc46cd0b9e6cef344be87c65962cb82b02" mac_readline --if has_broken_mac_readline 13 | if has_tar_xz_support; then 14 | install_package "Python-3.9.16" "https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tar.xz#22dddc099246dd2760665561e8adb7394ea0cc43a72684c6480f9380f7786439" standard verify_py39 copy_python_gdb ensurepip 15 | else 16 | install_package "Python-3.9.16" "https://www.python.org/ftp/python/3.9.16/Python-3.9.16.tgz#1ad539e9dbd2b42df714b69726e0693bc6b9d2d2c8e91c2e43204026605140c5" standard verify_py39 copy_python_gdb ensurepip 17 | fi 18 | --------------------------------------------------------------------------------