Compare commits

...

3 Commits

Author SHA1 Message Date
ba33a87fb1
feat: update container on build 2024-09-29 11:30:36 +02:00
aee9537e4a
ci: build the container weekly 2024-09-29 11:30:10 +02:00
7465b394f4
feat: keep cache in a volume 2024-09-29 11:29:40 +02:00
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,8 @@
name: Container build
on: [ push ]
on:
push: true
schedule:
- cron: '0 16 * * FRI'
jobs:
container-build:

View File

@ -1,7 +1,7 @@
FROM docker.io/fedora:41
# === setup system ===
RUN dnf -y install neovim unzip \
RUN dnf update -y && dnf -y install neovim unzip \
bash-completion zoxide fd-find procps \
git go npm
@ -19,5 +19,5 @@ COPY config/nvim/lazyvim.json /home/user/.config/nvim/lazyvim.json
# === setup container ===
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"]

View File

@ -11,6 +11,7 @@ podman run -it \
-v ~/.config/git:/home/user/.config/git \
-v "$name"-copilot:/home/user/.config/github-copilot \
-v "$name"-local:/home/user/.local \
-v "$name"-cache:/home/user/.cache \
--security-opt label=disable \
--userns=keep-id \
git.plabble.org/job79/dev:latest