fix: move copilot credentials to volume
All checks were successful
Container build / container-build (push) Successful in 2m33s
All checks were successful
Container build / container-build (push) Successful in 2m33s
This commit is contained in:
parent
5c7db03b32
commit
755605b2fb
@ -1,7 +1,7 @@
|
|||||||
FROM docker.io/fedora:41
|
FROM docker.io/fedora:41
|
||||||
|
|
||||||
# === setup system ===
|
# === setup system ===
|
||||||
RUN dnf clean all && dnf -y install neovim unzip \
|
RUN dnf -y install neovim unzip \
|
||||||
bash-completion zoxide fd-find procps \
|
bash-completion zoxide fd-find procps \
|
||||||
git go npm
|
git go npm
|
||||||
|
|
||||||
@ -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
|
VOLUME /home/user/.local /home/user/.config/github-copilot
|
||||||
CMD ["bash"]
|
CMD ["bash"]
|
||||||
|
2
enter.sh
2
enter.sh
@ -8,7 +8,7 @@ podman run -it \
|
|||||||
-v ~/Documents:/home/user/Documents \
|
-v ~/Documents:/home/user/Documents \
|
||||||
-v ~/.ssh:/home/user/.ssh \
|
-v ~/.ssh:/home/user/.ssh \
|
||||||
-v ~/.config/git:/home/user/.config/git \
|
-v ~/.config/git:/home/user/.config/git \
|
||||||
-v ~/.config/github-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 \
|
||||||
--security-opt label=disable \
|
--security-opt label=disable \
|
||||||
--userns=keep-id \
|
--userns=keep-id \
|
||||||
|
Loading…
Reference in New Issue
Block a user