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
64aea854
Commit
64aea854
authored
Feb 23, 2016
by
jackgr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move to golang:1.6
parent
808641c7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
14 deletions
+12
-14
Dockerfile
dm/Dockerfile
+1
-1
Dockerfile
expandybird/Dockerfile
+8
-10
Dockerfile
manager/Dockerfile
+1
-1
expander.go
manager/manager/expander.go
+1
-1
Dockerfile
resourcifier/Dockerfile
+1
-1
No files found.
dm/Dockerfile
View file @
64aea854
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
FROM
golang:1.
4-cross
FROM
golang:1.
6
ENV
GOLANG_CROSSPLATFORMS \
ENV
GOLANG_CROSSPLATFORMS \
darwin/amd64 \
darwin/amd64 \
...
...
expandybird/Dockerfile
View file @
64aea854
...
@@ -22,9 +22,8 @@ RUN apt-get update \
...
@@ -22,9 +22,8 @@ RUN apt-get update \
&&
apt-get clean
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
/tmp/
*
/var/tmp/
*
&&
rm
-rf
/var/lib/apt/lists/
*
/tmp/
*
/var/tmp/
*
# following lines copied from golang:1.
4
# following lines copied from golang:1.
6
# gcc for cgo
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
g++
\
g++
\
gcc
\
gcc
\
...
@@ -32,18 +31,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
...
@@ -32,18 +31,17 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
make
\
make
\
&&
rm
-rf
/var/lib/apt/lists/
*
&&
rm
-rf
/var/lib/apt/lists/
*
ENV
GOLANG_VERSION 1.
4.3
ENV
GOLANG_VERSION 1.
6
ENV
GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.
src
.tar.gz
ENV
GOLANG_DOWNLOAD_URL https://golang.org/dl/go$GOLANG_VERSION.
linux-amd64
.tar.gz
ENV
GOLANG_DOWNLOAD_SHA
1 486db10dc571a55c8d795365070f66d343458c48
ENV
GOLANG_DOWNLOAD_SHA
256 5470eac05d273c74ff8bac7bef5bad0b5abbd1c4052efbdbc8db45332e836b0b
RUN
curl
-fsSL
"
$GOLANG_DOWNLOAD_URL
"
-o
golang.tar.gz
\
RUN
curl
-fsSL
"
$GOLANG_DOWNLOAD_URL
"
-o
golang.tar.gz
\
&&
echo
"
$GOLANG_DOWNLOAD_SHA1
golang.tar.gz"
|
sha1sum
-c
-
\
&&
echo
"
$GOLANG_DOWNLOAD_SHA256
golang.tar.gz"
|
sha256sum
-c
-
\
&&
tar
-C
/usr/src
-xzf
golang.tar.gz
\
&&
tar
-C
/usr/local
-xzf
golang.tar.gz
\
&&
rm
golang.tar.gz
\
&&
rm
golang.tar.gz
&&
cd
/usr/src/go/src
&&
./make.bash
--no-clean
2>&1
ENV
GOPATH /go
ENV
GOPATH /go
ENV
PATH $GOPATH/bin:/usr/
src
/go/bin:$PATH
ENV
PATH $GOPATH/bin:/usr/
local
/go/bin:$PATH
RUN
mkdir
-p
"
$GOPATH
/src"
"
$GOPATH
/bin"
&&
chmod
-R
777
"
$GOPATH
"
RUN
mkdir
-p
"
$GOPATH
/src"
"
$GOPATH
/bin"
&&
chmod
-R
777
"
$GOPATH
"
...
...
manager/Dockerfile
View file @
64aea854
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
FROM
golang:1.
4
FROM
golang:1.
6
MAINTAINER
Jack Greenfield <jackgr@google.com>
MAINTAINER
Jack Greenfield <jackgr@google.com>
RUN
apt-get update
\
RUN
apt-get update
\
...
...
manager/manager/expander.go
View file @
64aea854
...
@@ -192,7 +192,7 @@ func (e *expander) expandTemplate(t *common.Template) (*ExpandedTemplate, error)
...
@@ -192,7 +192,7 @@ func (e *expander) expandTemplate(t *common.Template) (*ExpandedTemplate, error)
response
,
err
:=
http
.
Post
(
e
.
getBaseURL
(),
"application/json"
,
ioutil
.
NopCloser
(
bytes
.
NewReader
(
j
)))
response
,
err
:=
http
.
Post
(
e
.
getBaseURL
(),
"application/json"
,
ioutil
.
NopCloser
(
bytes
.
NewReader
(
j
)))
if
err
!=
nil
{
if
err
!=
nil
{
e
:=
fmt
.
Errorf
(
"call failed (%s) with payload:
\n
%s
\n
"
,
e
.
getBaseURL
(),
e
rr
,
string
(
j
))
e
:=
fmt
.
Errorf
(
"call failed (%s) with payload:
\n
%s
\n
"
,
err
,
string
(
j
))
return
nil
,
e
return
nil
,
e
}
}
...
...
resourcifier/Dockerfile
View file @
64aea854
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
FROM
golang:1.
4
FROM
golang:1.
6
RUN
apt-get update
\
RUN
apt-get update
\
&&
apt-get autoremove
-y
\
&&
apt-get autoremove
-y
\
...
...
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