Skip to content

Commit

Permalink
Merge pull request #126 from pwittrock/release
Browse files Browse the repository at this point in the history
Add root accounts to Docker container so cross compiling works
  • Loading branch information
Phillip Wittrock authored Aug 30, 2017
2 parents 06f5188 + 2b2e7e9 commit 2c1146c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/apiserver-boot/boot/build/build_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func RunBuildContainer(cmd *cobra.Command, args []string) {
outputdir = dir
RunBuildExecutables(cmd, args)

log.Printf("Building the docker Image.")
log.Printf("Building the docker Image using %s.", path)

c := exec.Command("docker", "build", "-t", Image, dir)
fmt.Printf("%s\n", strings.Join(c.Args, " "))
Expand All @@ -96,6 +96,9 @@ type dockerfileTemplateArguments struct {
var dockerfileTemplate = `
FROM ubuntu:14.04
RUN apt-get update
RUN apt-get install -y ca-certificates
ADD apiserver .
ADD controller-manager .
`

0 comments on commit 2c1146c

Please sign in to comment.