Commit Graph

63 Commits

Author SHA1 Message Date
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
Dave Tucker
2b5b1e64fa Clean up ARM builds
- Check in dtbs and give them their own directory
- Add cubieboard dtbs :)
- Remove hyper-v tools from arm Dockerfile

Signed-off-by: Dave Tucker <dt@docker.com>
2016-02-19 14:59:55 +00:00
Justin Cormack
64ff2d2b15 use a volume for the initrd image
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-19 14:52:23 +00:00
Justin Cormack
9669cd10e1 shift rest of these to using compose
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-18 15:35:35 +00:00
Justin Cormack
4945353da3 start using docker compose for build
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-17 13:53:27 +00:00
Justin Cormack
6ee7b22152 remove temporary containers
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-02-10 14:31:37 -08:00
Justin Cormack
c1f6b1c2ad inline some config files
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-01-25 11:47:35 +00:00
Rolf Neugebauer
6827b99b55 moby: add support for building an ISO image for Moby
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
2016-01-22 17:25:43 +00:00
Justin Cormack
5acf36affa set hostname from database if available
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-18 17:09:23 +00:00
Justin Cormack
53e5561d79 remove binfmt_misc on arm for now
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 15:18:01 +00:00
Justin Cormack
8db1056b36 fix make dependencies
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-14 11:04:52 +00:00
Justin Cormack
49b696967e more arm fixes
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 17:48:42 +00:00
Justin Cormack
87dae6079b Initial arm support
Not yet working, some parts also not yet cross compiled

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-13 15:49:38 +00:00
Justin Cormack
94555847cf fix tag name for initrd build
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 11:08:38 +00:00
Justin Cormack
c9b6eb3dad clean up build containers on make clean; rename for consistency
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-07 10:56:02 +00:00
Justin Cormack
3f00b547ac move 9pinit to packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 13:18:43 +00:00
Justin Cormack
a7cc326f1c move automount to packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 13:02:25 +00:00
Justin Cormack
635a44ab99 use standard chronyd config file, but make sure it starts after docker as it is slow
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-23 12:50:35 +00:00
Justin Cormack
12e3367f50 clean kernel too
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-22 12:08:07 +00:00
Justin Cormack
6670833de8 move config files under packages
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-18 16:41:29 +00:00
Justin Cormack
6cce9a78e9 Use official docker image instead of Alpine package; switch to aufs by default
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-18 14:13:34 +00:00
Justin Cormack
70d8143e48 move kernel under rest of build and pull through aufs tools
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 15:26:42 +00:00
Justin Cormack
06c53c2fe2 add /etc/securetty now upstream has one
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-17 10:45:20 +00:00
Justin Cormack
69b15d551e fix process startup, now runs docker correctly
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2015-12-10 16:25:04 +00:00