Justin Cormack
588798404f
Do not create latest tags for base images
...
As we never use these, do not create them.
Also update images where applicable.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-10 14:55:48 +01:00
Justin Cormack
652d5eddf3
Use build container id rather than tagging builds
...
This means that multiple builds will not conflict, so we can
remove the lock from the CI. Also quieter when no errors.
Some still left to do, only done the ones used in build and CI
initially. Some of the others will be cleaned up anyway later.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-29 20:21:17 +01:00
Nathan LeClaire
f3ac5ea45e
Propagate AZURE_STG_ACCOUNT_NAME in build container
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-09-27 13:38:26 -07:00
Justin Cormack
14ef46ee94
Fix dhcp ntp on osx
...
1. Upstream issue in Alpine that default directory is not used.
2. dhcp appends ntp servers, so delete default first.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-26 21:39:20 +01:00
Rolf Neugebauer
93490ac710
packages: remove hvtools
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-23 11:03:40 +01:00
Justin Cormack
af676ac5e1
Standalone make iso image, rather than build+run
...
Simpler to have an image that takes the kernel and initrd as input,
rather than building them into the image.
The rest need converting.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-22 13:12:23 +01:00
Ken Cochrane
2aa6ec954b
Added missing ENV variables to AMI build
...
Signed-off-by: Ken Cochrane <KenCochrane@gmail.com >
2016-09-20 19:09:09 -04:00
Justin Cormack
d78f86feb2
better dependency checking for etc
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-16 17:02:53 +01:00
Nathan LeClaire
e9b7803867
Migrate cloud build off of bind mounts
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-09-14 15:38:05 -07:00
Justin Cormack
c522ca1d31
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
1e0f7dee31
fix dependency loop
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 22:14:49 +01:00
Justin Cormack
76722caae7
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
0f7daa08c3
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
6594775ef6
make bios iso by default
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-12 16:36:01 +01:00
Justin Cormack
3f665f5e2a
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
fcf47232f7
Set CMD to mkinitrd
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
cbbf3f35e3
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
a40ded938c
smaller contexts for efi and bios
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
4a4e755c91
remove broken arm functionality - will rework
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
53d44fb548
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
09d2f5dc24
move mkinitrd to /
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
a225fb66b4
build packages in parallel
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Simon Ferquel
7ee35f36cb
Fix the source of the generate iso for efi version of moby
...
Signed-off-by: Simon Ferquel <simon.ferquel@hotmail.fr >
2016-09-08 14:49:02 +02:00
Justin Cormack
7b2d8ff227
Use docker and cat not compose and volumes for arm
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-07 00:22:21 +01:00
Justin Cormack
35acfcb3f5
Use docker and cat not compose and volumes for efi, bios
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-07 00:17:29 +01:00
Justin Cormack
106739fa02
Stop using volume and compose to build initrd
...
This makes remote builds work, and simplifies build.
See #469
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-06 23:59:38 +01:00
Justin Cormack
1cf430954a
clean up images built by compose to avoid cacheing
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-12 13:43:52 +01:00
Justin Cormack
a8f08434d4
Stop using container for gzip
...
Issue fixed in upstream alpine, gzip -9 now works correctly.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-10 15:07:11 +01:00
Justin Cormack
9fdb923056
Mount /run as shared
...
This is needed for volume drivers as they will mount their
volumes under here, and if they are running in a container
docker on the host will need to see these.
Also provide our own fstab, removes the media devices that were
there previously.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-08-09 11:46:08 +01:00
Justin Cormack
c310ffcd71
Use a container for doing gzip compression
...
The CI uses Alpine with busybox and that version is not good
at compression.
ALso use `.DELETE_ON_ERROR` so empty files are not created on failure.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-29 16:00:49 +01:00
David Sheets
f61be6860b
finish removal of llmnrd from #311
...
Signed-off-by: David Sheets <dsheets@docker.com >
2016-07-20 17:03:51 +01:00
Nathan LeClaire
329476944a
Add Azure provider support
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-07-18 16:22:21 -07:00
Nathan LeClaire
aaa6cc05e7
Add AWS build support
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-07-18 11:08:44 -07:00
Justin Cormack
7e495fb7a8
fix arm build
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-15 17:02:14 +01:00
Justin Cormack
43b9834123
do not remove inittab in clean
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-15 16:51:57 +01:00
Justin Cormack
b3b38aacc1
Use upstream /etc/securetty
...
Now we modify the file if we use a different console, can use
upstream unmodified.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-15 11:58:01 +01:00
Natanael Copa
8e03b120c3
merge inittab.x86_64 and inittab.armhf
...
with the login tty generated from boot cmdline the inittab will be equal
on all archs and platforms so we can merge and move to etc/
Signed-off-by: Natanael Copa <natanael.copa@docker.com >
2016-07-13 18:48:26 +02:00
Natanael Copa
67c8361d54
fix initrd.img dependencies
...
trigger rebuild if init or inittab was changed
Signed-off-by: Natanael Copa <natanael.copa@docker.com >
2016-07-13 18:28:46 +02:00
Justin Cormack
405784224d
Revert "Revert "Merge pull request #184 from justincormack/repositories" ( #195 )"
...
This reverts commit 34d44e20d4 .
2016-06-10 10:52:13 +01:00
David Sheets
34d44e20d4
Revert "Merge pull request #184 from justincormack/repositories" ( #195 )
...
This reverts commit ae1e96055c , reversing
changes made to 99dfa4e4c1 .
2016-06-10 10:28:07 +01:00
Justin Cormack
ca6663b9a3
Move to 3.4 repositories, openrc
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-06-08 12:45:07 +01:00
Nathan LeClaire
b576b05d3e
Add structure to enable baking Moby Linux AMI
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-05-06 15:20:53 -07:00
Justin Cormack
d7b363d348
fix arm build see #101 #96
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-18 11:34:14 +01:00
Justin Cormack
d91be1ceab
fix arm FROM
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-18 11:01:03 +01:00
Rolf Neugebauer
514bcf27a2
moby: add support for building EFI bootable Moby images
...
Wrap a EFI stub loader with vmlinuz, initrd, and a short commandline
inside a single EFI binary.
Two files are generated:
- mobylinux.efi is a raw EFI file which some hypervisors can boot directly
- mobylinux-efi.iso: ISO image with just MobyLinux in the EFI partition
also:
- rename legacy BIOS mobylinux.iso to mobylinux-bios.iso
- Build mobylinux-efi.iso as part of the standard mobylinux build
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-04-16 16:38:45 +01:00
Justin Cormack
a65b7eff5a
Do not pin alpine 3.3 version, we do apk upgrade anyway
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-04 15:56:51 +01:00
Justin Cormack
7521720d22
fix sha256 commit for arm
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-11 14:09:16 +00:00
Justin Cormack
fbc8112acb
fix exact commit for arm
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-11 13:54:55 +00:00
Justin Cormack
4e1222f8c5
generate compressed initrd, use it for xhyverun
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-10 11:09:54 +00:00
Justin Cormack
c6f18d1dd1
explicit compose build
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-03 09:22:55 +00:00