Commit Graph

3061 Commits

Author SHA1 Message Date
Jose Carlos Venegas Munoz
b485f729e8 clear-containers: Add script to launch base OS and kernel
This commit adds the script qemu.sh that will be used in a
docker container (created with Dockerfile).

This script will crate qemu instance to lauch a Clear Container
base OS with a kernel generated with moby.

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-04-14 09:26:10 +00:00
Jose Carlos Venegas Munoz
f2569c0e75 clear-containers: Enable kernel security options used by moby
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-04-14 09:26:10 +00:00
Jose Carlos Venegas Munoz
844f058689 clear-containers: enable PAGE POISONING ZERO
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-04-14 09:26:04 +00:00
Jose Carlos Venegas Munoz
2b1fb70f35 projects: Add Clear Containers intial support
Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
2017-04-14 09:23:37 +00:00
Gianluca Arbezzano
e36b76885e Added install support on make
Fixed #1544

I added `make install` support. By default it does:

```
cp -r ./bin/* /usr/local/bin
```

There is a env var `$PREFIX` in make. By default it's `/usr/local`

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2017-04-14 09:34:51 +02:00
Rolf Neugebauer
648b6a8a57 kernel: Update to 4.10.10/4.9.22/4.4.61
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-13 23:32:39 -05:00
Rolf Neugebauer
1916b7e08f Merge pull request #1627 from rneugeba/kern-linuxkit
kernel: Push kernels to the linuxkit org
2017-04-13 22:49:16 -05:00
Rolf Neugebauer
b8b8307725 kernel: Push kernels to the linuxkit org
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-13 18:19:58 -05:00
Justin Cormack
e17e4bf286 Merge pull request #1622 from tych0/CVE-2016-10229
security events: add writeup of CVE-2016-10229
2017-04-14 00:19:34 +01:00
Rolf Neugebauer
2596c84bef Merge pull request #1626 from tych0/unused-makefile-line
kernel: remove unused makefile line
2017-04-13 23:53:33 +01:00
Tycho Andersen
98666053fa kernel: remove unused makefile line
Going through some unrelated stuff and noticed this.

Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-04-13 15:26:40 -06:00
Riyaz Faizullabhoy
9609010ea8 Also update ymls
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-13 09:17:14 -07:00
Tycho Andersen
d92560402d security events: add writeup of CVE-2016-10229
Signed-off-by: Tycho Andersen <tycho@docker.com>
2017-04-13 10:15:33 -06:00
Justin Cormack
ddb25e51c9 Merge pull request #1619 from gianarb/hotfix/gcp-install-doc
Fixed gpc-cli brew installation and add install from source
2017-04-13 11:02:07 +01:00
Gianluca Arbezzano
2620489926 Fixed gpc-cli brew installation and add install from source
Fixed gcloud cli installation via brew. Added installation from source.

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2017-04-13 11:36:19 +02:00
Riyaz Faizullabhoy
3d91a7be86 Bump go-compile with ineffassign
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-12 16:54:51 -07:00
Justin Cormack
644b3cfb3f Merge pull request #1575 from riyazdf/more-go-linting
Add ineffassign to go-compile
2017-04-12 23:36:03 +01:00
Riyaz Faizullabhoy
31a8480878 Add ineffassign to go-compile, use tmp files to ensure proper failure
handling

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2017-04-12 14:42:19 -07:00
Justin Cormack
28f3f2c946 Merge pull request #1612 from rneugeba/linuxkit1
Use the new linuxkit hub org (Part 1)
2017-04-12 21:54:02 +01:00
Rolf Neugebauer
0a0786d49e pkg: Update packages to push to linuxkit hub org
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Rolf Neugebauer
579a42052f test: tini from linuxkit hub org
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Rolf Neugebauer
e7314ff350 pkg: Use images from linuxkit hub org
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Rolf Neugebauer
85d6492d5d kernel: Use linuxkit images for compilingi/packaging the kernel
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Rolf Neugebauer
84f7faa628 base: Move to new linuxkit hub org
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Rolf Neugebauer
fcd407787b scripts: Use qemu from linuxkit hub org
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Rolf Neugebauer
36749ea5c4 build: Switch using c-compile from linuxkit hub org
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Rolf Neugebauer
3b4ff0e9f4 docs: Update vendoring instruction with new go-compile package
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Rolf Neugebauer
a06e6bbb37 build: Switch using go-compile from linuxkit hub org
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Rolf Neugebauer
50b1c5d78c cli: Update images to use the linuxkit hub org
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Rolf Neugebauer
d14d462910 tools: Rename hub org to linuxkit
Rename various mention of moby while at it

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 21:28:17 +01:00
Justin Cormack
c5c6c26b3f Merge pull request #1610 from samoht/sdk-roadmp
miragesdk: update roadmap
2017-04-12 19:40:47 +01:00
Justin Cormack
6f2e0b6a52 Merge pull request #1611 from errordeveloper/uuid
Generate BIOS UUID
2017-04-12 19:39:39 +01:00
Ilya Dmitrichenko
531d821fc5 Generate VM UUID
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
2017-04-12 17:33:26 +01:00
Ilya Dmitrichenko
ee99f224e0 New files in vendor/
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
2017-04-12 17:33:17 +01:00
Ilya Dmitrichenko
ac63b7a2e5 Update HyperKit
Signed-off-by: Ilya Dmitrichenko <errordeveloper@gmail.com>
2017-04-12 17:33:07 +01:00
Justin Cormack
a906f7e848 Merge pull request #1609 from rneugeba/meta4
Simplify the GCP metadata SSH key handling code
2017-04-12 16:52:00 +01:00
Thomas Gazagnaire
1e83a9f9b4 miragesdk: update roadmap
Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 17:47:42 +02:00
Rolf Neugebauer
a1ce71cd0a Update YAML files with new metadata package
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 16:20:41 +01:00
Rolf Neugebauer
105cb48ad6 metadata: Simplify the GCP SSH code
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 16:19:24 +01:00
Justin Cormack
45c2921c7c Merge pull request #1606 from rneugeba/meta2
Improve/Fix metadata package and use it
2017-04-12 15:55:54 +01:00
Justin Cormack
c01d0e2777 Merge pull request #1587 from errordeveloper/kubernetes
Kubernetes with Weave CNI networking
2017-04-12 15:50:04 +01:00
Rolf Neugebauer
0cd867d315 demo: Update etcd YAML to new metadata package
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 15:42:48 +01:00
Rolf Neugebauer
432bdda272 pkg: Remove metadata-gcp
It's no longer used

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 15:42:48 +01:00
Justin Cormack
fb0803087c Merge pull request #1605 from samoht/capnp
use cap-n-proto in the SDK
2017-04-12 15:40:38 +01:00
Rolf Neugebauer
27a3eee6dc gcp: Switch GCP to the new metadata package
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 15:39:08 +01:00
Rolf Neugebauer
a21c566777 metadata: Make sure the ssh directory exists before writing to it
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 15:39:08 +01:00
Rolf Neugebauer
ce52c28cf6 metadata: Write the provider to /var/config/provider
This will be useful for testing.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 15:39:08 +01:00
Rolf Neugebauer
b0a0b4ceb7 metadata: Make JSON parser more robust
Make sure the type conversions are OK.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 15:39:08 +01:00
Rolf Neugebauer
626f02def2 metadata: Improve logging
Implementing a String() interface for each provider makes it
easier for users to prefix log strings with the provider.

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2017-04-12 15:39:08 +01:00
Thomas Gazagnaire
238879f2d4 miragesdk: add temporary auto-gen files
The capnp compiler is not yet available in alpine.

Signed-off-by: Thomas Gazagnaire <thomas@gazagnaire.org>
2017-04-12 16:29:49 +02:00