forked from ublue-os/base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Containerfile
22 lines (16 loc) · 854 Bytes
/
Containerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ARG FEDORA_MAJOR_VERSION=37
#FROM ghcr.io/cgwalters/fedora-silverblue:${FEDORA_MAJOR_VERSION}
#FROM quay.io/fedora-ostree-desktops/fedora-silverblue:${FEDORA_MAJOR_VERSION}
# See https://pagure.io/releng/issue/11047 for final location
ARG IMAGE_NAME="${IMAGE_NAME:-silverblue}"
ARG BASE_IMAGE="quay.io/fedora-ostree-desktops/${IMAGE_NAME}"
ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-37}"
FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION}
COPY etc /etc
COPY ublue-firstboot /usr/bin
RUN rpm-ostree override remove firefox firefox-langpacks && \
rpm-ostree install wireguard-tools fail2ban gnome-tweaks rclone && \
sed -i 's/#AutomaticUpdatePolicy.*/AutomaticUpdatePolicy=stage/' /etc/rpm-ostreed.conf && \
systemctl enable rpm-ostreed-automatic.timer && \
systemctl enable flatpak-automatic.timer && \
ostree container commit