-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContainerfile
23 lines (18 loc) · 1.09 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
FROM quay.io/fedora-ostree-desktops/silverblue:41
ENV VERSION=41
LABEL summary="Customized Fedora Silverblue containerized ostree image" \
maintainer="Hanspeter Gosteli <[email protected]>"
COPY extra-packages /
RUN rpm -Uhv https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-${VERSION}.noarch.rpm && \
rpm -Uhv https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-${VERSION}.noarch.rpm && \
# (cd /etc/yum.repos.d; curl -LO https://repo.ivpn.net/stable/fedora/generic/ivpn.repo) && \
(cd /etc/yum.repos.d; curl -LO https://pkgs.tailscale.com/stable/fedora/tailscale.repo) && \
# rpm -e noopenh264 && \
rpm-ostree install -y $(< extra-packages) && \
rm /extra-packages && \
ostree container commit
# TODO: Add timer for regular updates
# https://docs.fedoraproject.org/en-US/bootc/building-containers/
# TODO:
# FIX: ERROR! couldn't resolve module/action 'ansible.posix.authorized_key'. This often indicates a misspelling, missing collection, or incorrect module path.
COPY ansible-pull.service /etc/systemd/system/ansible-pull.service