Add sudo shim to dockerfiles/dind/ (#209)

This commit is contained in:
leigh schrandt
2017-11-09 11:29:28 -07:00
committed by Marcos Nils
parent 3db75cd297
commit 15a833fcf5
3 changed files with 8 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ RUN apt-get update \
# Install a nice vimrc file and prompt (by soulshake)
COPY ["docker-prompt", "ucp.sh", "/usr/local/bin/"]
COPY ["docker-prompt", "sudo", "ucp.sh", "/usr/local/bin/"]
COPY [".vimrc",".profile", ".inputrc", ".gitconfig", "workshop.lic", "./root/"]
COPY ["motd", "/etc/motd"]
COPY ["ee/daemon.json", "/etc/docker/"]

5
dockerfiles/dind/sudo Executable file
View File

@@ -0,0 +1,5 @@
#!/usr/bin/env bash
# This is shim to help with the case were pasted commands from a readme assume you are not root. Since this isto be run by root, it should effectively be a dummy command that allows the parameters to pass through.
exec $@