forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubevirt#634 from rmohr/dockerized
Dockerized build
- Loading branch information
Showing
25 changed files
with
230 additions
and
69 deletions.
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 |
---|---|---|
|
@@ -35,3 +35,4 @@ cluster/local/certs | |
**.pem | ||
**.crt | ||
**.csr | ||
_out |
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
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
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
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
# Copyright 2017 Red Hat, Inc. | ||
# | ||
|
||
FROM fedora:26 | ||
FROM fedora:27 | ||
|
||
MAINTAINER "The KubeVirt Project" <[email protected]> | ||
|
||
|
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
# Copyright 2017 Red Hat, Inc. | ||
# | ||
|
||
FROM fedora:26 | ||
FROM fedora:27 | ||
|
||
MAINTAINER "The KubeVirt Project" <[email protected]> | ||
|
||
|
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 |
---|---|---|
|
@@ -16,11 +16,13 @@ | |
# Copyright 2017 Red Hat, Inc. | ||
# | ||
|
||
FROM fedora:26 | ||
FROM fedora:27 | ||
|
||
MAINTAINER "The KubeVirt Project" <[email protected]> | ||
|
||
RUN dnf -y install libvirt-client genisoimage && \ | ||
ENV LIBVIRT_VERSION 3.7.0 | ||
|
||
RUN dnf -y install libvirt-client-${LIBVIRT_VERSION} genisoimage && \ | ||
groupadd --gid 107 qemu && \ | ||
useradd --uid 107 --gid 107 qemu && \ | ||
dnf -y clean all | ||
|
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
# Copyright 2017 Red Hat, Inc. | ||
# | ||
|
||
FROM fedora:26 | ||
FROM fedora:27 | ||
|
||
MAINTAINER "The KubeVirt Project" <[email protected]> | ||
|
||
|
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 |
---|---|---|
|
@@ -16,7 +16,7 @@ | |
# Copyright 2017 Red Hat, Inc. | ||
# | ||
|
||
FROM fedora:26 | ||
FROM fedora:27 | ||
|
||
MAINTAINER "The KubeVirt Project" <[email protected]> | ||
|
||
|
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
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
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
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,33 @@ | ||
FROM fedora:27 | ||
|
||
ENV LIBVIRT_VERSION 3.7.0 | ||
|
||
RUN dnf -y install libvirt-devel-${LIBVIRT_VERSION} make git mercurial sudo gcc findutils gradle rsync-daemon rsync && \ | ||
dnf -y clean all | ||
|
||
ENV GIMME_GO_VERSION=1.9.2 | ||
|
||
RUN mkdir -p /gimme && curl -sL https://raw.githubusercontent.com/travis-ci/gimme/master/gimme | HOME=/gimme bash >> /etc/profile.d/gimme.sh | ||
|
||
ENV GOPATH="/go" GOBIN="/usr/bin" | ||
|
||
ADD rsyncd.conf /etc/rsyncd.conf | ||
|
||
RUN \ | ||
mkdir -p /go && \ | ||
source /etc/profile.d/gimme.sh && \ | ||
go get github.com/mattn/goveralls && \ | ||
go get -u github.com/Masterminds/glide && \ | ||
go get golang.org/x/tools/cmd/goimports && \ | ||
go get -u mvdan.cc/sh/cmd/shfmt && \ | ||
go get -u github.com/golang/mock/gomock && \ | ||
go get -u github.com/rmohr/mock/mockgen && \ | ||
go get -u github.com/rmohr/go-swagger-utils/swagger-doc && \ | ||
go get -u github.com/onsi/ginkgo/ginkgo && \ | ||
go get -u k8s.io/code-generator/cmd/deepcopy-gen && \ | ||
go get -u k8s.io/code-generator/cmd/defaulter-gen | ||
|
||
|
||
ADD entrypoint.sh /entrypoint.sh | ||
|
||
ENTRYPOINT [ "/entrypoint.sh" ] |
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,5 @@ | ||
#!/bin/bash | ||
|
||
source /etc/profile.d/gimme.sh | ||
export GOPATH="/root/go" | ||
"$@" |
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,14 @@ | ||
gid = 0 | ||
uid = 0 | ||
log file = /dev/stdout | ||
reverse lookup = no | ||
[build] | ||
hosts allow = * | ||
read only = false | ||
path = /root/go/src/kubevirt.io/kubevirt/ | ||
comment = input sources | ||
[out] | ||
hosts allow = * | ||
read only = false | ||
path = /root/go/src/kubevirt.io/kubevirt/_out | ||
comment = build output |
Oops, something went wrong.