feat: keep cache in a volume
This commit is contained in:
parent
2e49a4f3a3
commit
7465b394f4
@ -19,5 +19,5 @@ COPY config/nvim/lazyvim.json /home/user/.config/nvim/lazyvim.json
|
|||||||
|
|
||||||
# === setup container ===
|
# === setup container ===
|
||||||
ENV TZ="Europe/Amsterdam"
|
ENV TZ="Europe/Amsterdam"
|
||||||
VOLUME /home/user/.local /home/user/.config/github-copilot
|
VOLUME /home/user/.local /home/user/.cache /home/user/.config/github-copilot
|
||||||
CMD ["bash"]
|
CMD ["bash"]
|
||||||
|
1
enter.sh
1
enter.sh
@ -11,6 +11,7 @@ podman run -it \
|
|||||||
-v ~/.config/git:/home/user/.config/git \
|
-v ~/.config/git:/home/user/.config/git \
|
||||||
-v "$name"-copilot:/home/user/.config/github-copilot \
|
-v "$name"-copilot:/home/user/.config/github-copilot \
|
||||||
-v "$name"-local:/home/user/.local \
|
-v "$name"-local:/home/user/.local \
|
||||||
|
-v "$name"-cache:/home/user/.cache \
|
||||||
--security-opt label=disable \
|
--security-opt label=disable \
|
||||||
--userns=keep-id \
|
--userns=keep-id \
|
||||||
git.plabble.org/job79/dev:latest
|
git.plabble.org/job79/dev:latest
|
||||||
|
Loading…
Reference in New Issue
Block a user