Justin Cormack
4e2f887f40
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
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
Justin Cormack
bf29850d3c
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
082a66d1ea
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
3f63cfb3b7
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
8646f76ed2
update to latest alpine base images
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:02:07 +01:00
Justin Cormack
b1597ff9a9
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
a795994b07
clean up 9pmount-vsock build
...
Signed-off-by: Justin Cormack <justin@specialbusservice.com >
2016-09-12 16:00:53 +01:00
Simon Ferquel
4d2671b606
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
3a2c28f352
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
daea294c94
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
b8a7032161
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
8a86af7d1e
Update to Alpine 3.4
...
Signed-off-by: Justin Cormack <justin.cormack@docker.com >
2016-06-03 12:45:15 +01:00
David Scott
81f6905893
9pmount-vsock: add .gitignore
...
Signed-off-by: David Scott <dave.scott@docker.com >
2016-05-21 21:42:52 +01:00
David Scott
a19630c1f4
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
1dfe82981a
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
d7fc50c777
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
0a28aa11b3
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
bf005cdd1e
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
9e353247cd
9pmount-vsock: add initial skeleton
...
Signed-off-by: David Scott <dave.scott@docker.com >
2016-05-21 13:56:36 +01:00