Justin Cormack
9051236f4d
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
c9594c5a02
packages: remove hvtools
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-23 11:03:40 +01:00
Justin Cormack
2d483a20b0
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
c1b826d248
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
f8315e40b4
better dependency checking for etc
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-16 17:02:53 +01:00
Nathan LeClaire
a6e3f92b95
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
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
318660fae3
fix dependency loop
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-13 22:14:49 +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
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
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
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
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
b605c70ce5
move mkinitrd to /
...
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
Simon Ferquel
12c528c089
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
0337f80297
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
5c38729d26
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
f907a57adc
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
000a78076f
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
3dd0aa67d9
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
398ade787e
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
8fbee7e0b8
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
c3793ff745
finish removal of llmnrd from #311
...
Signed-off-by: David Sheets <dsheets@docker.com >
2016-07-20 17:03:51 +01:00
Nathan LeClaire
70cb4f82a2
Add Azure provider support
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-07-18 16:22:21 -07:00
Nathan LeClaire
abb968c538
Add AWS build support
...
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com >
2016-07-18 11:08:44 -07:00
Justin Cormack
3d6ba289d1
fix arm build
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-07-15 17:02:14 +01:00
Justin Cormack
07fb25c8eb
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
96489524e7
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
9bbf27cb66
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
34bd1e9322
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
0ffc54bfaa
Revert "Revert "Merge pull request #184 from justincormack/repositories" ( #195 )"
...
This reverts commit 34d44e20d4 .
2016-06-10 10:52:13 +01:00
David Sheets
7219b18964
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
76d71e035d
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
04bdb18566
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
18745f6b76
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
a509a329f1
fix arm FROM
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-04-18 11:01:03 +01:00
Rolf Neugebauer
f785d0d448
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
7d11cd267b
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
994684b155
fix sha256 commit for arm
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-11 14:09:16 +00:00
Justin Cormack
6e8940d25f
fix exact commit for arm
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-11 13:54:55 +00:00
Justin Cormack
f25230a151
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
612d087426
explicit compose build
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-03 09:22:55 +00:00
Justin Cormack
a863d8d7b6
explicit compose build
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-03 09:21:58 +00:00
Justin Cormack
ee7b04356b
use volume for building iso
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-02-19 16:11:09 +00:00
Justin Cormack
42e85b9776
Merge pull request #36 from dave-tucker/dtb
...
Clean up ARM builds
2016-02-19 15:15:27 +00:00