Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
8ccfe3d5
Commit
8ccfe3d5
authored
Jan 29, 2016
by
jackgr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed Dockerfile bugs.
parent
397bc6e9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
19 deletions
+12
-19
Dockerfile
manager/Dockerfile
+7
-17
Dockerfile
resourcifier/Dockerfile
+5
-2
No files found.
manager/Dockerfile
View file @
8ccfe3d5
...
...
@@ -26,26 +26,16 @@ ENV KUBE_VERSION v1.0.5
RUN
curl
-fsSL
-o
kubectl https://storage.googleapis.com/kubernetes-release/release/
$KUBE_VERSION
/bin/linux/amd64/kubectl
\
&&
chmod
+x kubectl
RUN
mkdir
-p
"
$GOPATH
/src/github.com"
&&
chmod
777
"
$GOPATH
/src/github.com"
COPY
. "$GOPATH"/src
WORKDIR
"$GOPATH
/src/github.com"
WORKDIR
"$GOPATH
"/src/manager
RUN
mkdir
-p
manager
&&
chmod
777 manager
COPY
manager manager
RUN
go-wrapper download
RUN
go-wrapper
install
RUN
mkdir
-p
util
&&
chmod
777 util
COPY
util util
RUN
mkdir
-p
version
&&
chmod
777 version
COPY
version version
WORKDIR
"$GOPATH"
RUN
mkdir
-p
"
$GOPATH
/src/github.com"
&&
chmod
777
"
$GOPATH
/src/github.com"
RUN
go-wrapper download github.com/kubernetes/deployment-manager/manager/...
RUN
go-wrapper
install
github.com/kubernetes/deployment-manager/manager/...
RUN
cp
"
$GOPATH
"
/bin/manager /usr/local/bin
RUN
/bin/rm
-rf
"
$GOPATH
"
EXPOSE
8080
ENTRYPOINT
["bin/manager", "--kubectl=/usr/local/bin/kubectl"]
ENTRYPOINT
["
/usr/local/
bin/manager", "--kubectl=/usr/local/bin/kubectl"]
resourcifier/Dockerfile
View file @
8ccfe3d5
...
...
@@ -25,13 +25,16 @@ ENV KUBE_VERSION v1.0.5
RUN
curl
-fsSL
-o
kubectl https://storage.googleapis.com/kubernetes-release/release/
$KUBE_VERSION
/bin/linux/amd64/kubectl
\
&&
chmod
+x kubectl
COPY
. "$GOPATH"/src
/resourcifier
COPY
. "$GOPATH"/src
WORKDIR
"$GOPATH"/src/resourcifier
RUN
go-wrapper download
RUN
go-wrapper
install
RUN
cp
"
$GOPATH
"
/bin/resourcifier /usr/local/bin
RUN
/bin/rm
-rf
"
$GOPATH
"
EXPOSE
8080
ENTRYPOINT
["/
go
/bin/resourcifier", "--kubectl=/usr/local/bin/kubectl"]
ENTRYPOINT
["/
usr/local
/bin/resourcifier", "--kubectl=/usr/local/bin/kubectl"]
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