Skip to content

Commit

Permalink
Merge pull request #243 from awszhen/codebuild
Browse files Browse the repository at this point in the history
Update mono install commands and remove dirmngr for AmazonLinux2 stan…
  • Loading branch information
subinataws authored Aug 19, 2019
2 parents e2fae05 + a6bc1eb commit a1eb6a5
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions al2/x86_64/standard/1.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ ENV DOCKER_BUCKET="download.docker.com" \
GITVERSION_VERSION="4.0.0" \
DEBIAN_FRONTEND="noninteractive" \
SRC_DIR="/usr/src" \
EPEL_REPO="https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm" \
TRINITY_REPO="https://mirror.ppa.trinitydesktop.org/trinity/trinity/rpm/el7/trinity-r14/RPMS/noarch/trinity-repo-14.0.5-1.el7.noarch.rpm"
EPEL_REPO="https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm"

# Install git, SSH, and other utilities
RUN set -ex \
Expand All @@ -43,13 +42,13 @@ RUN set -ex \
&& ssh-keyscan -t rsa,dsa -H github.com >> ~/.ssh/known_hosts \
&& ssh-keyscan -t rsa,dsa -H bitbucket.org >> ~/.ssh/known_hosts \
&& chmod 600 ~/.ssh/known_hosts \
&& yum install -y $EPEL_REPO $TRINITY_REPO \
&& rpm --import "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" \
&& yum install -y $EPEL_REPO \
&& rpm --import https://download.mono-project.com/repo/xamarin.gpg \
&& curl https://download.mono-project.com/repo/centos7-stable.repo | tee /etc/yum.repos.d/mono-centos7-stable.repo \
&& amazon-linux-extras enable corretto8 \
&& yum groupinstall -y "Development tools" \
&& yum install -y wget fakeroot jq \
dirmngr bzr mercurial procps-ng \
bzr mercurial procps-ng \
ImageMagick \
openssl-devel libdb-devel \
libevent-devel libffi-devel GeoIP-devel glib2-devel \
Expand Down

0 comments on commit a1eb6a5

Please sign in to comment.