Skip to content

Commit

Permalink
Release updated Standard 2.0 image
Browse files Browse the repository at this point in the history
  • Loading branch information
srikanthataws committed May 29, 2019
1 parent 74a929d commit 122576c
Show file tree
Hide file tree
Showing 95 changed files with 31 additions and 18 deletions.
47 changes: 30 additions & 17 deletions ubuntu/standard/2.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,21 @@

FROM ubuntu:18.04

ENV RUBY_VERSION="2.6.2" \
ENV RUBY_VERSION="2.6.3" \
PYTHON_VERSION="3.7.3" \
PHP_VERSION=7.3.3 \
PHP_VERSION=7.3.5 \
JAVA_VERSION=11 \
NODE_VERSION="10.15.3" \
NODE_8_VERSION="8.15.1" \
GOLANG_VERSION="1.12.4" \
DOTNET_SDK_VERSION="2.2.105" \
DOCKER_VERSION="18.09.3" \
DOCKER_COMPOSE_VERSION="1.23.2"

GOLANG_VERSION="1.12.5" \
DOTNET_SDK_VERSION="2.2.203" \
DOCKER_VERSION="18.09.6" \
DOCKER_COMPOSE_VERSION="1.24.0"

#**************** Utilities *********************************************
ENV DOCKER_BUCKET="download.docker.com" \
DOCKER_CHANNEL="stable" \
DOCKER_SHA256="8b886106cfc362f1043debfe178c35b6f73ec42380b034a3919a235fe331e053" \
DOCKER_SHA256="1f3f6774117765279fce64ee7f76abbb5f260264548cf80631d68fb2d795bb09" \
DIND_COMMIT="3b5fac462d21ca164b3778647420016315289034" \
GITVERSION_VERSION="4.0.0" \
DEBIAN_FRONTEND="noninteractive" \
Expand Down Expand Up @@ -70,6 +69,7 @@ RUN set -ex \
libxml2-utils libyaml-perl python-bzrlib python-configobj \
sgml-base sgml-data subversion tcl tcl8.6 xml-core xmlto xsltproc \
tk gettext gettext-base libapr1 libaprutil1 xvfb expect parallel \
locales rsync \
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
&& echo "deb https://download.mono-project.com/repo/ubuntu stable-bionic main" | tee /etc/apt/sources.list.d/mono-official-stable.list \
&& rm -rf /var/lib/apt/lists/* \
Expand Down Expand Up @@ -103,9 +103,9 @@ RUN set -ex \

# https://docs.aws.amazon.com/eks/latest/userguide/install-aws-iam-authenticator.html https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_installation.html
RUN curl -sS -o /usr/local/bin/aws-iam-authenticator https://amazon-eks.s3-us-west-2.amazonaws.com/1.11.5/2018-12-06/bin/linux/amd64/aws-iam-authenticator \
&& curl -sS -o /usr/local/bin/kubectl https://amazon-eks.s3-us-west-2.amazonaws.com/1.11.5/2018-12-06/bin/linux/amd64/kubectl \
&& curl -sS -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest \
&& chmod +x /usr/local/bin/kubectl /usr/local/bin/aws-iam-authenticator /usr/local/bin/ecs-cli
&& curl -sS -o /usr/local/bin/kubectl https://amazon-eks.s3-us-west-2.amazonaws.com/1.11.5/2018-12-06/bin/linux/amd64/kubectl \
&& curl -sS -o /usr/local/bin/ecs-cli https://s3.amazonaws.com/amazon-ecs-cli/ecs-cli-linux-amd64-latest \
&& chmod +x /usr/local/bin/kubectl /usr/local/bin/aws-iam-authenticator /usr/local/bin/ecs-cli

RUN set -ex \
&& pip3 install awscli boto3
Expand Down Expand Up @@ -200,7 +200,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \

#**************** PHP ****************************************************
ENV GPG_KEYS CBAF69F173A0FEA4B537F470D66C9593118BCCB6 F38252826ACD957EF380D39F2F7956BC5DA04B5D
ENV PHP_DOWNLOAD_SHA="6bb03e79a183d0cb059a6d117bbb2e0679cab667fb713a13c6a16f56bebab9b3" \
ENV PHP_DOWNLOAD_SHA="e1011838a46fd4a195c8453b333916622d7ff5bce4aca2d9d99afac142db2472" \
PHPPATH="/php" \
PHP_INI_DIR="/usr/local/etc/php" \
PHP_CFLAGS="-fstack-protector -fpic -fpie -O2" \
Expand All @@ -217,12 +217,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
wget -O php.tar.xz.asc "$PHP_ASC_URL"; \
export GNUPGHOME="$(mktemp -d)"; \
for key in $GPG_KEYS; do \
( gpg --batch --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys "$key" \
( gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" \
|| gpg --keyserver pgp.mit.edu --recv-keys "$key" \
|| gpg --keyserver keyserver.pgp.com --recv-keys "$key" ); \
done; \
gpg --batch --verify php.tar.xz.asc php.tar.xz; \
rm -rf "$GNUPGHOME"; \
rm -rf "$GNUPGHOME"; \
set -eux; \
savedAptMark="$(apt-mark showmanual)"; \
apt-get update; \
Expand Down Expand Up @@ -298,7 +298,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Install Composer globally
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin --filename=composer
#**************** END PHP ****************************************************

#**************** NODEJS ****************************************************

ENV N_SRC_DIR="$SRC_DIR/n"
Expand Down Expand Up @@ -431,7 +431,7 @@ RUN set -ex \
#**************** END JAVA ****************************************************

#**************** GO **********************************************************
ENV GOLANG_DOWNLOAD_SHA256="d7d1f1f88ddfe55840712dc1747f37a790cbcaa448f6c9cf51bbe10aa65442f5" \
ENV GOLANG_DOWNLOAD_SHA256="aea86e3c73495f205929cfebba0d63f1382c8ac59be081b6351681415f4063cf" \
GOPATH="/go" \
DEP_VERSION="0.5.1" \
DEP_BINARY="dep-linux-amd64"
Expand Down Expand Up @@ -469,7 +469,7 @@ RUN set -ex \

# Install .NET Core SDK
ENV DOTNET_SDK_DOWNLOAD_URL https://dotnetcli.blob.core.windows.net/dotnet/Sdk/$DOTNET_SDK_VERSION/dotnet-sdk-$DOTNET_SDK_VERSION-linux-x64.tar.gz
ENV DOTNET_SDK_DOWNLOAD_SHA B7AD26B344995DE91848ADEC56BDA5DFE5FEF0B83ABAA3E4376DC790CF9786E945B625DE1AE4CECAF5C5BEF86284652886ED87696581553AEDA89EE2E2E99517
ENV DOTNET_SDK_DOWNLOAD_SHA 8DA955FA0AEEBB6513A6E8C4C23472286ED78BD5533AF37D79A4F2C42060E736FDA5FD48B61BF5AEC10BBA96EB2610FACC0F8A458823D374E1D437B26BA61A5C

RUN set -ex \
&& curl -SL $DOTNET_SDK_DOWNLOAD_URL --output dotnet.tar.gz \
Expand Down Expand Up @@ -526,3 +526,16 @@ RUN set -ex \
&& rm -rf /tmp/google-chrome-stable_current_amd64.deb \
&& sed -i 's|HERE/chrome"|HERE/chrome" --disable-setuid-sandbox --no-sandbox|g' "/opt/google/chrome/google-chrome" \
&& google-chrome --version

# Install ChromeDriver

RUN set -ex \
&& CHROME_VERSION=`google-chrome --version | awk -F '[ .]' '{print $3"."$4"."$5}'` \
&& CHROME_DRIVER_VERSION=`wget -qO- chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_VERSION` \
&& wget --no-verbose -O /tmp/chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/$CHROME_DRIVER_VERSION/chromedriver_linux64.zip \
&& unzip /tmp/chromedriver_linux64.zip -d /opt \
&& rm /tmp/chromedriver_linux64.zip \
&& mv /opt/chromedriver /opt/chromedriver-$CHROME_DRIVER_VERSION \
&& chmod 755 /opt/chromedriver-$CHROME_DRIVER_VERSION \
&& ln -s /opt/chromedriver-$CHROME_DRIVER_VERSION /usr/bin/chromedriver \
&& chromedriver --version
2 changes: 1 addition & 1 deletion ubuntu/standard/2.0/runtimes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ runtimes:
2.6:
commands:
- echo "Installing Ruby version 2.6 ..."
- rbenv global 2.6.2
- rbenv global 2.6.3
nodejs:
versions:
10:
Expand Down

0 comments on commit 122576c

Please sign in to comment.