-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContainerfile
executable file
·67 lines (60 loc) · 1.99 KB
/
Containerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
FROM quay.io/fedora/fedora-silverblue:41
RUN rpm-ostree install --idempotent \
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
COPY files/vscode.repo /etc/yum.repos.d/vscode.repo
# COPY files/docker-ce.repo /etc/yum.repos.d/docker-ce.repo
COPY files/ideapad /etc/sudoers.d/ideapad
COPY files/modules /etc/modules
COPY files/rpm-ostreed.conf /etc/rpm-ostreed.conf
COPY files/session.conf /usr/share/dbus-1/session.conf
RUN rpm-ostree uninstall --idempotent \
default-editor \
gnome-initial-setup \
gnome-tour \
nano-default-editor \
yelp
# ffmpeg-free \
# libavcodec-free \
# libavdevice-free \
# libavfilter-free \
# libavformat-free \
# libavutil-free \
# libpostproc-free \
# libswresample-free \
# libswscale-free
RUN rpm-ostree install --idempotent \
ddcutil \
# ffmpeg \
# ffmpegthumbs \
code \
# containerd.io \
distrobox \
# docker-buildx-plugin \
# docker-ce \
# docker-ce-cli \
# docker-compose-plugin \
efibootmgr \
flatpak-xdg-utils \
gnome-browser-connector \
gnome-tweaks \
intel-media-driver \
just \
libgda \
libgda-sqlite \
libnotify \
libportal \
neovim \
pkg-config \
slirp4netns \
stow \
wl-clipboard \
xdg-desktop-portal \
xdg-desktop-portal-gnome \
xdg-user-dirs
RUN mkdir -p /etc/systemd/system/multi-user.target.wants
# RUN ln -s /usr/lib/systemd/system/docker.service /etc/systemd/system/multi-user.target.wants/docker.service
RUN ln -s /usr/lib/systemd/system/rpm-ostreed-automatic.timer /etc/systemd/system/timers.target.wants/
RUN rm -rf /var/* ~/.*
RUN rpm-ostree cleanup -m
RUN ostree container commit