forked from ublue-os/image-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sh
executable file
·42 lines (30 loc) · 1.03 KB
/
build.sh
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
#!/bin/bash
set -ouex pipefail
RELEASE="$(rpm -E %fedora)"
### Install packages
# Packages can be installed from any enabled yum repo on the image.
# RPMfusion repos are available by default in ublue main images
# List of rpmfusion packages can be found here:
# https://mirrors.rpmfusion.org/mirrorlist?path=free/fedora/updates/39/x86_64/repoview/index.html&protocol=https&redirect=1
# Install vscode
rpm-ostree install code
# Install Azure data studio
wget -O /tmp/azuredatastudio.rpm https://go.microsoft.com/fwlink/?linkid=2261574
rpm-ostree install /tmp/azuredatastudio.rpm
# Install useful gnome utilities
rpm-ostree install \
gparted \
gnome-disk-utility \
gnome-system-monitor\
gedit
# Install docker
rpm-ostree install docker-ce \
docker-ce-cli \
docker-buildx-plugin \
docker-compose-plugin \
containerd.io
# Install earlyoom
rpm-ostree install earlyoom
systemctl enable earlyoom
#### Example for enabling a System Unit File
# systemctl enable podman.socket