Skip to content

Commit

Permalink
clean unused dockerfiles
Browse files Browse the repository at this point in the history
Better suited as CI jobs

Also update simple config under /contrib.
  • Loading branch information
femnad committed Dec 9, 2023
1 parent e7d4890 commit 54eac5e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from golang:bullseye
from golang:bookworm
run mkdir -p /root/fup
copy . /root/fup/
workdir /root/fup
Expand Down
8 changes: 0 additions & 8 deletions Dockerfile.debian

This file was deleted.

7 changes: 0 additions & 7 deletions Dockerfile.fedora

This file was deleted.

12 changes: 7 additions & 5 deletions contrib/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,18 @@ repos:
user_in_group:
# Made up example
root:
- video
- name: video

ensure_lines:
- name: replace
file: /etc/dnf/automatic.conf
text: apply_updates = no
replace: apply_updates = yes
replace:
- old: apply_updates = no
new: apply_updates = yes
when: is-fedora
- name: replace
file: /etc/systemd/logind.conf
text: '#HandleLidSwitchDocked=ignore'
replace: HandleLidSwitchDocked=suspend
replace:
- old: '#HandleLidSwitchDocked=ignore'
new: HandleLidSwitchDocked=suspend
when: is-laptop

0 comments on commit 54eac5e

Please sign in to comment.