mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-22 12:38:31 +07:00
Revert "Mount less files into tools container"
This reverts commit 8af0b77f46
.
This commit is contained in:
parent
1dc6f8aad9
commit
f4bd9c36b9
@ -1,5 +1,6 @@
|
||||
# TODO
|
||||
|
||||
- [(bug) Fix wireguard secrets](../apps/resources/wireguard.yaml#L17)
|
||||
- [(feature) Add lint checks for everything](../Makefile#L29)
|
||||
- [(feature) Simple script to backup everything](../scripts/backup.sh#L3)
|
||||
- [(feature) Simple script to restore everything](../scripts/restore.sh#L3)
|
||||
|
@ -16,4 +16,7 @@ RUN yes | pacman --sync --refresh \
|
||||
p7zip \
|
||||
python \
|
||||
python-netaddr \
|
||||
terraform
|
||||
terraform \
|
||||
zsh
|
||||
|
||||
CMD [ "/bin/zsh" ]
|
||||
|
@ -1,13 +1,11 @@
|
||||
.POSIX:
|
||||
|
||||
WORKDIR = /usr/local/src
|
||||
TAG = homelab-tools
|
||||
|
||||
default: build run
|
||||
|
||||
build:
|
||||
docker build . \
|
||||
--tag ${TAG}
|
||||
docker build . --tag ${TAG}
|
||||
|
||||
run:
|
||||
docker run \
|
||||
@ -16,8 +14,8 @@ run:
|
||||
--tty \
|
||||
--network host \
|
||||
--env "TERM=${TERM}" \
|
||||
--volume "$(shell pwd)/..:${WORKDIR}" \
|
||||
--volume "${HOME}/.ssh/id_ed25519.pub:/root/.ssh/id_ed25519.pub" \
|
||||
--env "HOME=${HOME}" \
|
||||
--volume "${HOME}:${HOME}" \
|
||||
--volume "/var/run/docker.sock:/var/run/docker.sock" \
|
||||
--workdir "${WORKDIR}" \
|
||||
--workdir "$(shell pwd)/.." \
|
||||
${TAG}
|
||||
|
Loading…
Reference in New Issue
Block a user