Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Install and configure ECR credential helper #745

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion al2/aarch64/standard/2.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ RUN set -ex \
perl-DBI perl-HTTP-Date perl-IO-Pty-Easy perl-TimeDate perl-YAML-LibYAML perl perl-FindBin \
postgresql-devel procps-ng python-configobj readline-devel rsync sgml-common \
subversion-perl tar tcl tk vim wget which xfsprogs xmlto xorg-x11-server-Xvfb xz-devel \
amazon-ecr-credential-helper runc
amazon-ecr-credential-helper runc \
&& mkdir ~/.docker \
&& echo '{"credsStore": "ecr-login"}' > ~/.docker/config.json

RUN useradd codebuild-user

Expand Down
4 changes: 3 additions & 1 deletion al2/aarch64/standard/3.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ RUN set -ex \
postgresql-devel procps-ng python-configobj readline-devel rsync sgml-common \
patch pkg-config procps python3-configobj llvm rsync sqlite-devel \
subversion-perl tar tcl tk vim wget which xfsprogs xmlto xorg-x11-server-Xvfb xz-devel \
amazon-ecr-credential-helper git-lfs runc acl
amazon-ecr-credential-helper git-lfs runc acl \
&& mkdir ~/.docker \
&& echo '{"credsStore": "ecr-login"}' > ~/.docker/config.json

RUN useradd codebuild-user

Expand Down
2 changes: 2 additions & 0 deletions al2/x86_64/standard/4.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ RUN set -ex \
postgresql-devel procps-ng python-configobj readline-devel rsync sgml-common \
subversion-perl tar tcl tk vim wget which xfsprogs xmlto xorg-x11-server-Xvfb xz-devel \
amazon-ecr-credential-helper \
&& mkdir ~/.docker \
&& echo '{"credsStore": "ecr-login"}' > ~/.docker/config.json \
&& rm /etc/yum.repos.d/mono-centos7-stable.repo

RUN useradd codebuild-user
Expand Down
2 changes: 2 additions & 0 deletions al2/x86_64/standard/5.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ RUN set -ex \
postgresql-devel procps-ng python-configobj readline-devel rsync sgml-common \
subversion-perl tar tcl tk vim wget which xfsprogs xmlto xorg-x11-server-Xvfb xz-devel \
amazon-ecr-credential-helper git-lfs acl glibc-langpack-en glibc-common \
&& mkdir ~/.docker \
&& echo '{"credsStore": "ecr-login"}' > ~/.docker/config.json \
&& rm /etc/yum.repos.d/mono-centos7-stable.repo

RUN useradd codebuild-user
Expand Down
4 changes: 3 additions & 1 deletion ubuntu/standard/5.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN set -ex \
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H bitbucket.org >> ~/.ssh/known_hosts \
&& chmod 600 ~/.ssh/known_hosts \
&& apt-get install -y -qq --no-install-recommends \
apt-utils asciidoc autoconf automake build-essential bzip2 \
amazon-ecr-credential-helper apt-utils asciidoc autoconf automake build-essential bzip2 \
bzr curl dirmngr docbook-xml docbook-xsl dpkg-dev \
e2fsprogs expect fakeroot file g++ gcc gettext gettext-base \
groff gzip iptables jq less libapr1 libaprutil1 \
Expand All @@ -45,6 +45,8 @@ RUN set -ex \
python-openssl rsync sgml-base sgml-data \
tar tcl tcl8.6 tk tk-dev unzip wget xfsprogs xml-core xmlto xsltproc \
libzip5 libzip-dev vim xvfb xz-utils zip zlib1g-dev \
&& mkdir ~/.docker \
&& echo '{"credsStore": "ecr-login"}' > ~/.docker/config.json \
&& rm -rf /var/lib/apt/lists/*

ENV LC_CTYPE="C.UTF-8"
Expand Down
4 changes: 3 additions & 1 deletion ubuntu/standard/6.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN set -ex \
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H bitbucket.org >> ~/.ssh/known_hosts \
&& chmod 600 ~/.ssh/known_hosts \
&& apt-get install -y -qq --no-install-recommends \
apt-utils asciidoc autoconf automake build-essential bzip2 \
amazon-ecr-credential-helper apt-utils asciidoc autoconf automake build-essential bzip2 \
bzr curl dirmngr docbook-xml docbook-xsl dpkg-dev \
e2fsprogs expect fakeroot file g++ gcc gettext gettext-base \
groff gzip iptables jq less libapr1 libaprutil1 \
Expand All @@ -45,6 +45,8 @@ RUN set -ex \
python3-openssl rsync sgml-base sgml-data \
tar tcl tcl8.6 tk tk-dev unzip wget xfsprogs xml-core xmlto xsltproc \
libzip-dev vim xvfb xz-utils zip zlib1g-dev \
&& mkdir ~/.docker \
&& echo '{"credsStore": "ecr-login"}' > ~/.docker/config.json \
&& rm -rf /var/lib/apt/lists/*

ENV LC_CTYPE="C.UTF-8"
Expand Down
4 changes: 3 additions & 1 deletion ubuntu/standard/7.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN set -ex \
&& ssh-keyscan -t rsa,dsa,ed25519,ecdsa -H bitbucket.org >> ~/.ssh/known_hosts \
&& chmod 600 ~/.ssh/known_hosts \
&& apt-get install -y -qq --no-install-recommends \
apt-utils asciidoc autoconf automake build-essential bzip2 \
amazon-ecr-credential-helper apt-utils asciidoc autoconf automake build-essential bzip2 \
bzr curl dirmngr docbook-xml docbook-xsl dpkg-dev \
e2fsprogs expect fakeroot file g++ gcc gettext gettext-base \
groff gzip iptables jq less libapr1 libaprutil1 \
Expand All @@ -44,6 +44,8 @@ RUN set -ex \
python3-openssl rsync sgml-base sgml-data \
tar tcl tcl8.6 tk tk-dev unzip wget xfsprogs xml-core xmlto xsltproc \
libzip-dev vim xvfb xz-utils zip zlib1g-dev git-lfs acl \
&& mkdir ~/.docker \
&& echo '{"credsStore": "ecr-login"}' > ~/.docker/config.json \
&& rm -rf /var/lib/apt/lists/*

ENV LC_CTYPE="C.UTF-8"
Expand Down