Clean up dhcpcd container

It is not necessary to bring up `eth0`, the program does it fine.

This means we can remove shell script, clean up build.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-04-06 15:32:22 +01:00
parent 3223897232
commit 0a030dc219
13 changed files with 14 additions and 30 deletions

View File

@@ -11,7 +11,7 @@ system:
- CAP_SYS_ADMIN
daemon:
- name: dhcpcd
image: "mobylinux/dhcpcd:57a8ef29d3a910645b2b24c124f9ce9ef53ce703"
image: "mobylinux/dhcpcd:3eb32da7ff8051f61e0f18edd90dd0fbfcf148ea"
binds:
- /var:/var
- /tmp:/etc

View File

@@ -16,7 +16,7 @@ system:
readonly: true
daemon:
- name: dhcpcd
image: "mobylinux/dhcpcd:57a8ef29d3a910645b2b24c124f9ce9ef53ce703"
image: "mobylinux/dhcpcd:3eb32da7ff8051f61e0f18edd90dd0fbfcf148ea"
binds:
- /var:/var
- /tmp:/etc

View File

@@ -23,7 +23,7 @@ daemon:
oomScoreAdj: -800
readonly: true
- name: dhcpcd
image: "mobylinux/dhcpcd:57a8ef29d3a910645b2b24c124f9ce9ef53ce703"
image: "mobylinux/dhcpcd:3eb32da7ff8051f61e0f18edd90dd0fbfcf148ea"
binds:
- /var:/var
- /tmp:/etc