Justin Cormack
023d9c624c
Merge pull request #508 from justincormack/autologin
...
Do not prompt for username at login
2016-09-14 13:51:07 +01:00
Justin Cormack
9305b37153
Do not prompt for username at login
...
Given you can login as root with no password on the console,
asking which user you would like to login as is rather pointless.
Do have to tweak /etc/issue though as busybox getty does not display it
without a prompt, and we want a whale.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-14 11:38:55 +00:00
Justin Cormack
b1c0981634
Merge pull request #510 from justincormack/nolog
...
No log driver for large copies
2016-09-14 12:35:25 +01:00
Ian Campbell
81b86d111a
kernel: Replace vsock email series with upstream patches
...
The vsock patches were merged into mainline in v4.8-rc1, replace the patches
based on the email posting with cherry-picks. The patches appear identical so
the only change here is to the annotation of the origin which now references an
upstream commit instead of a message-id.
Add one new upstream patch b226acab2f6a "VSOCK: Use kvfree()"
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-09-14 10:03:10 +01:00
Ian Campbell
8c015fd22c
kernel: Update vsock patches to RFC v6
...
Series is at <1469716595-13591-1-git-send-email-stefanha@redhat.com >.
This corresponds to v7 of the spec, posted in
<1470324277-19300-1-git-send-email-stefanha@redhat.com >
Also add a "cherry-picked from" to the "vsock: make listener child lock
ordering explicit" patch and move it to the head of the series with the other
vsock backports.
Finally backport three new upstream fixes:
3fda5d6e5801 vhost/vsock: fix vhost virtio_vsock_pkt use-after-free
28ad55578b8a virtio-vsock: fix include guard typo
21bc54fc0cdc vhost/vsock: drop space available check for TX vq
These were made on top of the version of the vsock patches which were added to
Linux master in v4.8-rc1. This commit is based on the email posting, will
replace with with proper cherry-pick separately.
Requires corresponding backend changes in Hyperkit
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-09-14 10:03:10 +01:00
Justin Cormack
72a2e4b90f
No log driver for large copies
...
Takes 75% of the time without logs.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-14 09:05:36 +01:00
Justin Cormack
7c9e05ff46
run tests with only alpine image, not nginx to make faster
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 23:21:44 +01:00
Justin Cormack
9a96f5da8c
Add support for running a development bundle of Docker
...
Add a database key `bundle` that contains a path to a Docker dev
bundle eg `/.../docker/bundles/1.13.0-dev` where the docker
binaries to run can be found. This will be paired with a script
in `docker/docker` to set this key, so users can easily help
contribute to Docker development.
The change will be permanent until the key is removed or a factory
reset is done, or the bundle cannot be found.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 22:46:27 +01:00
Justin Cormack
6c0a0bf2fe
fix kernel build missing arch
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 22:30:26 +01:00
Justin Cormack
0265605a1f
Merge pull request #503 from justincormack/make-circular
...
fix dependency loop
2016-09-13 22:19:36 +01:00
Justin Cormack
0e2b57f108
Merge pull request #502 from justincormack/kernel-make
...
Clean up kernel Makefile
2016-09-13 22:18:39 +01:00
Justin Cormack
318660fae3
fix dependency loop
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 22:14:49 +01:00
Justin Cormack
a0b1153d93
Rework kernel Makefile
...
Do not delete build container on `make clean`, as it should be fine
to reuse cached layers.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 21:49:14 +01:00
Justin Cormack
2ca2b399be
Merge pull request #501 from kencochrane/cloud-clean
...
Added ability to make ami-clean-mount to clean up AMI volume mount
2016-09-13 21:26:48 +01:00
Ken Cochrane
3a5d68acbf
Added ability to make ami-clean-mount to clean up AMI volume mount
...
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com >
2016-09-13 16:22:46 -04:00
Justin Cormack
654e47ad1c
reorder kernel Dockerfile
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 21:15:34 +01:00
Justin Cormack
5e4e7d1c7f
rm docker container used for binary extraction
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:37:24 +01:00
Justin Cormack
955aad6276
Use a random tag for Debian kernel build base
...
To store all the old images they need a different tag, so use a
random one.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
35070c03f7
Use a base image for building kernel
...
As we do not have a simple way to hash Debian, use the Docker
sha256 until we switch to Alpine.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
8ed08dcdda
Make self hosting by adding make and GNU tar
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
206dfe0950
simplify vendor tar
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
91fbb9c245
revert to debian for kernel build
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
85158fec4d
make bios iso by default
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
cd6507f1d0
for release docker binaries we can fetch from docker hub rather than curl, so will be cached
...
Allow override in case docker images not released
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
7d08c3f9c1
we never use uncompressed initrd, so always compress
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
a99eec5151
Set CMD to mkinitrd
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
cb9178f314
Use our own qemu base image
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
5d2ad6db2b
do not need to delete reproducible images
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
af85abc84d
reproducible builds for efi and bios isos
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
43ab6520cf
update to latest alpine base images
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
71e33e3a08
smaller contexts for efi and bios
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
c498f7ac23
remove broken arm functionality - will rework
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
347328f348
clean up main Dockerfile and Makefile to use exact correct context, tar input
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
b392bf0a2e
Simplify kernel output and main Dockerfile
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
5c634808df
simplify tar for vendor directory
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
b605c70ce5
move mkinitrd to /
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
1b487549bb
use tar for iptables
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
276157a769
Move all output to the directories it will be in eventually
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
5ae109fc23
build packages in parallel
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
b75711b4cd
clean up transfused build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
b06a5fa6eb
clean up nc-vsock build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
d4c09bbd92
move include file
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
e42d59045d
clean up 9pmount-vsock build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
c52d04a248
use cc
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
349e98c625
remove unused OS=
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
d2551be515
clean up hvtools build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
57d1e7e232
clean up tap-vsockd build process
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
98beff2fa0
clean up docker Makefile
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Justin Cormack
cc89e32c03
no longer need OS here
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00
Justin Cormack
d00ed9ce6e
run with no network
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 15:59:19 +01:00