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
Justin Cormack
6a1fabe94b
explicit compose build
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-03-03 09:21:58 +00:00
Justin Cormack
704b4d87b1
use volume for building iso
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-02-19 16:11:09 +00:00
Justin Cormack
f7ff5792b9
Merge pull request #36 from dave-tucker/dtb
...
Clean up ARM builds
2016-02-19 15:15:27 +00:00
Dave Tucker
2a6f32b164
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
0ef9a6e53e
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
2180d0d2ed
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
5d1cb9a046
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
4564a44b8d
remove temporary containers
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-02-10 14:31:37 -08:00
Justin Cormack
569758a789
inline some config files
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-01-25 11:47:35 +00:00
Rolf Neugebauer
659590379c
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
cdf02ffe7f
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
871db27eca
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
b04caed5e6
fix make dependencies
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2016-01-14 11:04:52 +00:00
Justin Cormack
7ce5afc2d9
more arm fixes
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2016-01-13 17:48:42 +00:00
Justin Cormack
658ac6145f
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
45c8262fbf
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
f4b04272a7
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
c43dd60a39
move 9pinit to packages
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-23 13:18:43 +00:00
Justin Cormack
364d6f5aa1
move automount to packages
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-23 13:02:25 +00:00
Justin Cormack
4165acdd88
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
6924073954
clean kernel too
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-22 12:08:07 +00:00
Justin Cormack
bb2fd04e2a
move config files under packages
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-18 16:41:29 +00:00
Justin Cormack
4af10a3026
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
fca32a3b72
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
b257bbca35
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
e4d19c90dc
fix process startup, now runs docker correctly
...
Signed-off-by: Justin Cormack <justin.cormack@unikernel.com >
2015-12-10 16:25:04 +00:00