Justin Cormack
b5d9ff8cda
Use docker run to compile C code not docker build
...
C version of #1006
Note that I switched all the C builds to use -O2 and that meant
that the compiler found some more warnings so I also fixed these
up. The possibly undefined ones were harmless, the aliasing one
is now more correct.
As these are small programs, the caching from `docker build` makes
no real difference, and worst case compile time is much better.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2017-01-15 15:55:14 +00:00
Justin Cormack
4ac42402e5
Update base images to Alpine 3.5
...
excludes
- Go base images as not yet available
- perf which does not build with latest image
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-12-28 18:09:08 +00:00
Rolf Neugebauer
d3889c2445
build: update packages to new alpine-build-c base
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-12-16 16:21:39 +00:00
Riyaz Faizullabhoy
4011d4842a
Use digests instead of tags where possible
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com >
2016-12-01 09:39:02 -08:00
Justin Cormack
41caff5065
update c build base image
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-11-18 23:32:47 +00:00
Justin Cormack
2409adfe0a
update C build base images for Musl update
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-20 13:23:12 +01:00
Justin Cormack
cfbdc7d067
do not remove build containers
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-11 16:12:40 +01:00
Justin Cormack
e1454f0249
add ncurses to C build for menuconfig
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-10-01 18:26:38 +01:00
Justin Cormack
fa19d3259b
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
Justin Cormack
0214c41ff3
Use patched aufs-utils so can compile kernel with alpine
...
This is going to be submitted upstream.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-29 16:17:46 +01:00
Rolf Neugebauer
839a65c0bd
9pmount: Don't init variables if they are unconditionally assigned later
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-16 11:02:29 +01:00
Rolf Neugebauer
6df7fae1a9
9pmount: Use Linux coding style (mostly)
...
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com >
2016-09-16 11:02:29 +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
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
e42d59045d
clean up 9pmount-vsock build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Simon Ferquel
6b9a4179e6
Fix an issue with DB values over 4k when 9p database is accessed trough Hyper V
...
Signed-off-by: Simon Ferquel <simon.ferquel@hotmail.fr >
2016-09-08 14:55:26 +02:00
Justin Cormack
d4b5fc07c9
Closer to reproducible builds
...
Make an alpine base image for C and Go builds.
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-09-06 13:18:11 +01:00
Justin Cormack
d52c2b8a44
use build-base not alpine-sdk, it is smaller
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-08-30 10:43:34 +01:00
Ian Campbell
5165a6c795
Add || true to the docker rmi invocations in the clean target
...
Linux xargs calls the command with no arguments if it gets no inputs, which
`docker rmi` complains about. It provides -r / --no-run-if-empty to prevent
this but unfortunately this isn't supported on OSX.
Ignore errors from `docker rmi` so that `make clean` will keep going and clean
up later stuff.
Signed-off-by: Ian Campbell <ian.campbell@docker.com >
2016-06-08 13:59:47 +01:00
Justin Cormack
e434c70507
Update to Alpine 3.4
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-06-03 12:45:15 +01:00
David Scott
537efa03be
9pmount-vsock: add .gitignore
...
Signed-off-by: David Scott <dave.scott@docker.com >
2016-05-21 21:42:52 +01:00
David Scott
2f3b1cce02
9pmount-vsock: retry the mount if it fails
...
The client on the host may time-out the connection attempt after we have
accepted it. If the mount fails, sleep for 1s and try again.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-05-21 13:56:40 +01:00
David Scott
a295aec785
9pmount-vsock: require <tag> and <path> arguments for the 9P mount
...
The program can now be used to mount more filesystems than the database
one.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-05-21 13:56:36 +01:00
David Scott
672d611c8f
9pmount-vsock: remove Win32 compatibility code
...
There's no point having an ability to compile this code on
Windows, so simplify it.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-05-21 13:56:36 +01:00
David Scott
a772c2b7d6
9pmount-vsock: only try to accept 1 connection
...
The database has a reconnect loop, and we don't particularly want
to accept more than one of its connections per mount.
Signed-off-by: David Scott <dave.scott@docker.com >
2016-05-21 13:56:36 +01:00
David Scott
36d09be949
9pmount-vsock: make a connection then execv /bin/mount
...
The magic options are
-o trans=fd,rfdno=<FD>,wfdno=<FD>
Signed-off-by: David Scott <dave.scott@docker.com >
2016-05-21 13:56:36 +01:00
David Scott
ed616f8c26
9pmount-vsock: add initial skeleton
...
Signed-off-by: David Scott <dave.scott@docker.com >
2016-05-21 13:56:36 +01:00