-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lynn Lin
committed
Dec 30, 2017
1 parent
5c2e29d
commit 1d4a019
Showing
2 changed files
with
11 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# create a docker images to run docker inside jenkins slave through docker plugin | ||
# | ||
FROM jenkins/ssh-slave | ||
LABEL MAINTAINER="Lynn Lin <[email protected]>" | ||
RUN apt-get update \ | ||
&& apt-get install -y curl | ||
RUN curl -fsSL https://get.docker.com/ | sh | ||
RUN usermod -a -G docker jenkins |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
# jenkins-ssh-slave | ||
# jenkins-ssh-slave | ||
run docker inside jenkins slave built by docker cloud in Jenkins |