forked from Blazemeter/taurus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve building process (Blazemeter#1397)
* Split the main Dockerfile into two - one main Dockerfile for taurus image creation, and the second tests/ci/Dockerfile.build for an artifact building process and for the site deployment. * Removed commands with sed and changed versioning logic. * Changed an agent for Jenkins job to be build from tests/ci/Dockerfile.build. * Simplified the Jenkinsfile stages to be performed on one agent and moved the artifacts creation stage to the top. Us674965
- Loading branch information
1 parent
e5dabd5
commit cbc881a
Showing
12 changed files
with
110 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,5 @@ | |
.dockerignore | ||
Dockerfile | ||
tests | ||
dist | ||
site | ||
**/*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
FROM ubuntu:18.04 | ||
|
||
ENV DBUS_SESSION_BUS_ADDRESS=/dev/null DEBIAN_FRONTEND=noninteractive APT_INSTALL="apt-get -y install --no-install-recommends" | ||
|
||
ADD https://dl-ssl.google.com/linux/linux_signing_key.pub /tmp | ||
RUN apt-get -y update \ | ||
&& apt-get -y install dirmngr git \ | ||
&& $APT_INSTALL software-properties-common apt-utils \ | ||
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \ | ||
&& cat /tmp/linux_signing_key.pub | apt-key add - \ | ||
&& apt-add-repository multiverse -y \ | ||
&& echo "deb http://download.mono-project.com/repo/ubuntu bionic main" | tee /etc/apt/sources.list.d/mono-official.list \ | ||
&& apt-add-repository ppa:yandex-load/main -y \ | ||
&& apt-add-repository ppa:nilarimogard/webupd8 -y \ | ||
&& $APT_INSTALL tzdata \ | ||
&& dpkg-reconfigure --frontend noninteractive tzdata \ | ||
&& $APT_INSTALL \ | ||
language-pack-en mc kmod unzip build-essential \ | ||
libxslt1-dev libffi-dev libxi6 libgconf-2-4 libexif12 libyaml-dev \ | ||
udev openjdk-8-jdk xvfb siege tsung apache2-utils phantom phantom-ssl \ | ||
pepperflashplugin-nonfree flashplugin-installer \ | ||
mono-complete nuget net-tools gcc-mingw-w64-x86-64 \ | ||
&& $APT_INSTALL python3-dev python3-pip \ | ||
&& python3 -m pip install --upgrade pip \ | ||
&& python3 -m pip install --user --upgrade setuptools wheel \ | ||
&& nuget update -self \ | ||
&& apt-get clean | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common && \ | ||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \ | ||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" && \ | ||
apt-get update && \ | ||
apt-get install -y docker-ce docker-ce-cli containerd.io | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get install -y \ | ||
gcc-mingw-w64-x86-64 nsis libssl-dev libncurses5-dev libsqlite3-dev \ | ||
libreadline-dev libtk8.5 libgdm-dev libdb4o-cil-dev libpcap-dev curl \ | ||
&& apt-get clean | ||
|
||
RUN export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" && \ | ||
echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \ | ||
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list && \ | ||
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \ | ||
apt-get update && \ | ||
apt-get install -y google-cloud-sdk kubectl && \ | ||
python3 -m pip install pyyaml |