Replace Vagrant with Docker
This commit is contained in:
15
tools/dep
Executable file
15
tools/dep
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
source .env
|
||||
|
||||
docker run \
|
||||
--rm \
|
||||
--user "$UID" \
|
||||
--volume /etc/passwd:/etc/passwd:ro \
|
||||
--volume /etc/group:/etc/group:ro \
|
||||
--volume $SSH_AUTH_SOCK:/ssh-agent --env SSH_AUTH_SOCK=/ssh-agent \
|
||||
--volume "$PWD:/srv/homepage" \
|
||||
--interactive \
|
||||
--tty \
|
||||
${HOMEPAGE_IMAGE} \
|
||||
dep "$@"
|
Reference in New Issue
Block a user