Replace Vagrant with Docker

This commit is contained in:
2017-12-02 23:10:55 +03:00
parent 9b3fdf386b
commit 895c7b0b29
19 changed files with 3375 additions and 111 deletions

15
tools/dep Executable file
View 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 "$@"