Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
bf9bc378
Commit
bf9bc378
authored
Jun 04, 2018
by
Dylan Griffith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add gcloud and kubectl to Dockerfile for QA
parent
c64e7bf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
qa/Dockerfile
qa/Dockerfile
+9
-0
No files found.
qa/Dockerfile
View file @
bf9bc378
...
...
@@ -28,6 +28,15 @@ RUN apt-get update -q && apt-get install -y google-chrome-stable && apt-get clea
RUN
wget
-q
https://chromedriver.storage.googleapis.com/
$(
wget
-q
-O
- https://chromedriver.storage.googleapis.com/LATEST_RELEASE
)
/chromedriver_linux64.zip
RUN
unzip chromedriver_linux64.zip
-d
/usr/local/bin
##
# Install gcloud and kubectl CLI used in Auto DevOps test to create K8s
# clusters
#
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
&&
\
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
&&
\
apt-get update
-y
&&
apt-get
install
google-cloud-sdk kubectl
-y
WORKDIR
/home/qa
COPY
./Gemfile* ./
RUN
bundle
install
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment