Skip to content

Commit dbe76f8

Browse files
authored
Merge pull request #621 from Dylan-AWS/master
Release ubuntu 7.0, move ubuntu 4.0 and al2/aarch64 1.0 to unsupporte…
2 parents 2f796bb + 3cde05e commit dbe76f8

32 files changed

+830
-20
lines changed

README.md

+9-10
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ The master branch will sometimes have changes that are still in the process of b
88

99
### How to build Docker images
1010

11-
Steps to build Standard 6.0 image
11+
Steps to build Standard 7.0 image
1212

1313
* Run `git clone https://github.com/aws/aws-codebuild-docker-images.git` to download this repository to your local machine
14-
* Run `cd aws-codebuild-docker-images/ubuntu/standard/6.0` to change the directory in your local workspace. This is the location of the Standard 6.0 Dockerfile with Ubuntu base.
15-
* Run `docker build -t aws/codebuild/standard:6.0 .` to build Docker image locally
14+
* Run `cd aws-codebuild-docker-images/ubuntu/standard/7.0` to change the directory in your local workspace. This is the location of the Standard 7.0 Dockerfile with Ubuntu base.
15+
* Run `docker build -t aws/codebuild/standard:7.0 .` to build Docker image locally
1616

1717
To poke around in the image interactively, build it and run:
18-
`docker run -it --entrypoint sh aws/codebuild/standard:6.0 -c bash`
18+
`docker run -it --entrypoint sh aws/codebuild/standard:7.0 -c bash`
1919

2020
To let the Docker daemon start up in the container, build it and run:
21-
`docker run -it --privileged aws/codebuild/standard:6.0 bash`
21+
`docker run -it --privileged aws/codebuild/standard:7.0 bash`
2222

2323
```
2424
$ git clone https://github.com/aws/aws-codebuild-docker-images.git
2525
$ cd aws-codebuild-docker-images
26-
$ cd ubuntu/standard/6.0
27-
$ docker build -t aws/codebuild/standard:6.0 .
28-
$ docker run -it --entrypoint sh aws/codebuild/standard:6.0 -c bash
26+
$ cd ubuntu/standard/7.0
27+
$ docker build -t aws/codebuild/standard:7.0 .
28+
$ docker run -it --entrypoint sh aws/codebuild/standard:7.0 -c bash
2929
```
3030

3131
### Image maintenance
@@ -34,10 +34,9 @@ Some of the images in this repository are no longer actively maintained by AWS C
3434

3535
The following images are actively maintained by AWS CodeBuild, and are listed in the CodeBuild console.
3636

37-
+ [standard 4.0](ubuntu/standard/4.0)
3837
+ [standard 5.0](ubuntu/standard/5.0)
3938
+ [standard 6.0](ubuntu/standard/6.0)
39+
+ [standard 7.0](ubuntu/standard/7.0)
4040
+ [amazonlinux2-x86_64-standard:3.0](al2/x86_64/standard/3.0)
4141
+ [amazonlinux2-x86_64-standard:4.0](al2/x86_64/standard/4.0)
42-
+ [amazonlinux2-aarch64-standard:1.0](al2/aarch64/standard/1.0)
4342
+ [amazonlinux2-aarch64-standard:2.0](al2/aarch64/standard/2.0)

al2/x86_64/standard/3.0/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ RUN set -ex \
1818
&& mkdir -p /opt/tools \
1919
&& mkdir -p /codebuild/image/config \
2020
&& touch ~/.ssh/known_hosts \
21-
&& ssh-keyscan -t rsa,dsa -H github.com >> ~/.ssh/known_hosts \
22-
&& ssh-keyscan -t rsa,dsa -H bitbucket.org >> ~/.ssh/known_hosts \
21+
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H github.com >> ~/.ssh/known_hosts \
22+
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H bitbucket.org >> ~/.ssh/known_hosts \
2323
&& chmod 600 ~/.ssh/known_hosts \
2424
&& amazon-linux-extras install epel -y \
2525
&& rpm --import https://download.mono-project.com/repo/xamarin.gpg \

al2/x86_64/standard/4.0/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ RUN set -ex \
1818
&& mkdir -p /opt/tools \
1919
&& mkdir -p /codebuild/image/config \
2020
&& touch ~/.ssh/known_hosts \
21-
&& ssh-keyscan -t rsa,dsa -H github.com >> ~/.ssh/known_hosts \
22-
&& ssh-keyscan -t rsa,dsa -H bitbucket.org >> ~/.ssh/known_hosts \
21+
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H github.com >> ~/.ssh/known_hosts \
22+
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H bitbucket.org >> ~/.ssh/known_hosts \
2323
&& chmod 600 ~/.ssh/known_hosts \
2424
&& amazon-linux-extras install epel -y \
2525
&& rpm --import https://download.mono-project.com/repo/xamarin.gpg \

buildspec.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 0.2
33
phases:
44
build:
55
commands:
6-
- cd $CODEBUILD_SRC_DIR/ubuntu/standard/6.0
7-
- docker build -t aws/codebuild/standard:6.0 .
6+
- cd $CODEBUILD_SRC_DIR/ubuntu/standard/7.0
7+
- docker build -t aws/codebuild/standard:7.0 .
88
- cd $CODEBUILD_SRC_DIR/al2/x86_64/standard/4.0
99
- docker build -t aws/codebuild/amazonlinux2-x86_64-standard:4.0 .

ubuntu/standard/5.0/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ RUN set -ex \
2727
&& mkdir ~/.ssh \
2828
&& mkdir -p /codebuild/image/config \
2929
&& touch ~/.ssh/known_hosts \
30-
&& ssh-keyscan -t rsa,dsa -H github.com >> ~/.ssh/known_hosts \
31-
&& ssh-keyscan -t rsa,dsa -H bitbucket.org >> ~/.ssh/known_hosts \
30+
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H github.com >> ~/.ssh/known_hosts \
31+
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H bitbucket.org >> ~/.ssh/known_hosts \
3232
&& chmod 600 ~/.ssh/known_hosts \
3333
&& apt-get install -y -qq --no-install-recommends \
3434
apt-utils asciidoc autoconf automake build-essential bzip2 \

ubuntu/standard/6.0/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ RUN set -ex \
2727
&& mkdir ~/.ssh \
2828
&& mkdir -p /codebuild/image/config \
2929
&& touch ~/.ssh/known_hosts \
30-
&& ssh-keyscan -t rsa,dsa -H github.com >> ~/.ssh/known_hosts \
31-
&& ssh-keyscan -t rsa,dsa -H bitbucket.org >> ~/.ssh/known_hosts \
30+
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H github.com >> ~/.ssh/known_hosts \
31+
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H bitbucket.org >> ~/.ssh/known_hosts \
3232
&& chmod 600 ~/.ssh/known_hosts \
3333
&& apt-get install -y -qq --no-install-recommends \
3434
apt-utils asciidoc autoconf automake build-essential bzip2 \

0 commit comments

Comments
 (0)