generated from ublue-os/image-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathContainerfile.storage-remote
36 lines (25 loc) · 1.25 KB
/
Containerfile.storage-remote
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
FROM ghcr.io/ublue-os/ucore-minimal:stable-zfs@sha256:fe9824d1d169940326176f9f77cdc23f3dbc204d3a060b95a662c9daf163d592
ARG HOST
COPY .sops.yaml /usr/share/sops/
# Apps - Node-exporter
COPY apps/node-exporter/node-exporter.container /usr/share/containers/systemd/
# Apps - Scrutiny-collector
COPY apps/scrutiny-collector/storage-remote.container /usr/share/containers/systemd/scrutiny-collector.container
COPY apps/scrutiny-collector/storage-remote.sops.env /usr/share/scrutiny-collector/config.sops.env
# Apps - Ucore
COPY apps/ucore/lib/common_utils.sops.sh /usr/share/ucore/common_utils.sops.sh
COPY apps/ucore/ucore-update.sh /usr/sbin/ucore-update.sh
# Apps - Wireguard
COPY apps/wireguard/wg0-client.sops.conf /usr/share/wireguard/wg0-client.sops.conf
COPY systemd/wg0-client.service /etc/systemd/system/
# Apps - Zrepl
COPY apps/zrepl /tmp/apps/zrepl
COPY systemd/zrepl-secrets.service /etc/systemd/system/
COPY systemd/ucore-update* /etc/systemd/system/
COPY systemd/ucore-firewalld-setup-storage-remote.service /etc/systemd/system/ucore-firewalld-setup.service
COPY systemd/ucore-zfs-kernel.service /etc/systemd/system/
COPY systemd/brew* /etc/systemd/system/
COPY scripts /tmp/
RUN /tmp/install.sh && \
/tmp/post-install.sh && \
ostree container commit