Compare commits
3 Commits
2e49a4f3a3
...
ba33a87fb1
Author | SHA1 | Date | |
---|---|---|---|
ba33a87fb1 | |||
aee9537e4a | |||
7465b394f4 |
@ -1,5 +1,8 @@
|
|||||||
name: Container build
|
name: Container build
|
||||||
on: [ push ]
|
on:
|
||||||
|
push: true
|
||||||
|
schedule:
|
||||||
|
- cron: '0 16 * * FRI'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
container-build:
|
container-build:
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
FROM docker.io/fedora:41
|
FROM docker.io/fedora:41
|
||||||
|
|
||||||
# === setup system ===
|
# === setup system ===
|
||||||
RUN dnf -y install neovim unzip \
|
RUN dnf update -y && 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 /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