Skip to content

Commit 03d1622

Browse files
authored
Merge pull request #627 from Dylan-AWS/master
Releas arm standard 3.0
2 parents dbe76f8 + 7ccf21f commit 03d1622

File tree

8 files changed

+684
-0
lines changed

8 files changed

+684
-0
lines changed

al2/aarch64/standard/3.0/Dockerfile

+348
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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 "$@"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
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+
chromium : BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
17+
----------------
18+
cvs : BSD and GPL+ and GPLv2+ and LGPLv2+ and zlib and Public Domain
19+
----------------
20+
cvsps : GPL+
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+
gzip : GPLv3+ and GFDL
41+
----------------
42+
icu : MIT and UCD and Public Domain
43+
----------------
44+
iptables : GPLv2
45+
----------------
46+
java-1.17.0-amazon-corretto-devel : ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv2 and GPLv2 with exceptions and IJG and LGPLv2+ and MIT and MPLv2.0 and Public Domain and W3C and zlib.
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 Domainlibjpeg-devel
63+
----------------
64+
libicu-devel : MIT and UCD and Public Domain
65+
----------------
66+
libjpeg-devel : zlib
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+
mlocate : GPLv2
93+
----------------
94+
mono-devel : LGPL-2.1
95+
----------------
96+
ncurses-devel : MIT
97+
----------------
98+
oniguruma-devel : BSD
99+
----------------
100+
openssh-clients : BSD
101+
----------------
102+
openssl : OpenSSL
103+
----------------
104+
openssl-devel : OpenSSL
105+
----------------
106+
perl-DBD-SQLite : GPL+ or Artistic
107+
----------------
108+
perl-DBI : GPL+ or Artistic
109+
----------------
110+
perl-HTTP-Date : GPL+ or Artistic
111+
----------------
112+
perl-IO-Pty-Easy : GPL+ or Artistic
113+
----------------
114+
perl-TimeDate : GPL+ or Artistic
115+
----------------
116+
perl-YAML-LibYAML : GPL+ or Artistic
117+
----------------
118+
postgresql-devel : PostgreSQL
119+
----------------
120+
procps-ng : GPL+ and GPLv2 and GPLv2+ and GPLv3+ and LGPLv2+
121+
----------------
122+
python-configobj : BSD
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+
yarn : BSD
153+
----------------
154+
ruby :https://www.ruby-lang.org/en/about/license.txt
155+
----------------
156+
python :https://docs.python.org/3/license.html
157+
----------------
158+
php :https://www.php.net/license/index.php
159+
----------------
160+
nodejs :https://github.com/nodejs/node/blob/master/LICENSE
161+
----------------
162+
golang :https://golang.org/LICENSE
163+
----------------
164+
dotnet :https://github.com/dotnet/core/blob/master/LICENSE.TXT
165+
----------------
166+
Firefox :https://www.mozilla.org/en-US/MPL/
167+
----------------
168+
Chrome :https://www.google.com/intl/en_pk/chrome/privacy/eula_text.html
169+
----------------
170+
stunnel :https://www.stunnel.org/gpl.html
171+
----------------
172+
gitversion :https://github.com/GitTools/GitVersion/blob/master/LICENSE
173+
----------------
174+
docker :https://www.docker.com/legal/components-licenses
175+
----------------
176+

al2/aarch64/standard/3.0/runtimes.yml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
version: 0.1
2+
3+
runtimes:
4+
java:
5+
versions:
6+
corretto17:
7+
commands:
8+
- echo "Installing corretto (OpenJDK) version 17 ..."
9+
10+
- export JAVA_HOME="$JAVA_17_HOME"
11+
12+
- export JRE_HOME="$JRE_17_HOME"
13+
14+
- export JDK_HOME="$JDK_17_HOME"
15+
16+
- |-
17+
for tool_path in "$JAVA_HOME"/bin/*;
18+
do tool=`basename "$tool_path"`;
19+
if [ $tool != 'java-rmi.cgi' ];
20+
then
21+
rm -f /usr/bin/$tool /var/lib/alternatives/$tool \
22+
&& update-alternatives --install /usr/bin/$tool $tool $tool_path 20000;
23+
fi;
24+
done
25+
golang:
26+
versions:
27+
1.20:
28+
commands:
29+
- echo "Installing Go version 1.20 ..."
30+
- rm -rf /usr/local/go
31+
- ln -s /usr/local/go12 /usr/local/go
32+
python:
33+
versions:
34+
3.11:
35+
commands:
36+
- echo "Installing Python version 3.11 ..."
37+
- pyenv global $PYTHON_311_VERSION
38+
php:
39+
versions:
40+
8.1:
41+
commands:
42+
- echo "Installing PHP version 8.1 ..."
43+
- phpenv global $PHP_81_VERSION
44+
ruby:
45+
versions:
46+
3.2:
47+
commands:
48+
- echo "Installing Ruby version 3.2 ..."
49+
- rbenv global $RUBY_32_VERSION
50+
nodejs:
51+
versions:
52+
18:
53+
commands:
54+
- echo "Installing Node.js version 18 ..."
55+
- n $NODE_18_VERSION
56+
docker:
57+
versions:
58+
23:
59+
commands:
60+
- echo "Using Docker 23"
61+
dotnet:
62+
versions:
63+
6.0:
64+
commands:
65+
- echo "Installing .NET version 6.0 ..."

al2/aarch64/standard/3.0/ssh_config

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Host *
2+
ConnectTimeout 10
3+
ConnectionAttempts 10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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.2
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.2" "https://www.python.org/ftp/python/3.11.2/Python-3.11.2.tar.xz#29e4b8f5f1658542a8c13e2dd277358c9c48f2b2f7318652ef1675e402b9d2af" standard verify_py311 copy_python_gdb ensurepip
16+
else
17+
install_package "Python-3.11.2" "https://www.python.org/ftp/python/3.11.2/Python-3.11.2.tgz#2411c74bda5bbcfcddaf4531f66d1adc73f247f529aee981b029513aefdbf849" standard verify_py311 copy_python_gdb ensurepip
18+
fi

0 commit comments

Comments
 (0)