Skip to content

Commit b5b6473

Browse files
authored
Merge pull request #1 from AlmaLinux/flatpaks
Add Flatpaks
2 parents 7d82ce3 + ad2fa0d commit b5b6473

File tree

4 files changed

+32
-1
lines changed

4 files changed

+32
-1
lines changed

.github/workflows/build-iso.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
upload-to-github: false
4545
upload-to-cloudflare: false
4646
upload-to-s3: true
47+
s3-path: "${{ needs.set-env.outputs.IMAGE_NAME }}/${{ needs.set-env.outputs.LATEST_TAG }}"
4748
bucket: "almalinux-atomic"
4849
aws-default-region: "us-east-1"
4950
secrets:

files/scripts/10-base.sh

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,29 @@ dnf install -y \
1111
gnome-shell-extension-{appindicator,dash-to-dock,blur-my-shell} \
1212
ncdu \
1313
powertop \
14+
htop \
1415
fastfetch \
1516
systemd-{resolved,container,oomd} \
1617
libcamera{,-{v4l2,gstreamer,tools}} \
1718
jetbrains-mono-fonts-all
1819

20+
# Set up repo for Visual Studio Code. Fix the code when Microsoft provides a key that doesn't use SHA1.
21+
# rpm --import https://packages.microsoft.com/keys/microsoft.asc
22+
cat << 'EOF' >> /etc/yum.repos.d/vscode.repo
23+
# Visual Studio Code repository
24+
[code]
25+
name=Visual Studio Code
26+
baseurl=https://packages.microsoft.com/yumrepos/vscode
27+
enabled=1
28+
gpgcheck=0
29+
# gpgkey=https://packages.microsoft.com/keys/microsoft.asc
30+
EOF
31+
1932
# Now let's go for the main packages
2033
dnf -y install \
2134
distrobox \
22-
buildah
35+
buildah \
36+
code
2337

2438
systemctl enable rpm-ostree-countme.service
2539

files/scripts/40-flatpaks.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/usr/bin/env bash
2+
3+
set -xeuo pipefail
4+
5+
# Install system Flatpaks
6+
cat << 'EOF' >> /etc/flatpak/default-flatpaks/system/install
7+
com.mattjakeman.ExtensionManager
8+
com.github.tchx84.Flatseal
9+
io.github.flattool.Warehouse
10+
com.google.Chrome
11+
org.mozilla.Thunderbird
12+
io.github.dvlv.boxbuddyrs
13+
org.libreoffice.LibreOffice
14+
EOF
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[install.filesystem.root]
2+
type = "ext4"

0 commit comments

Comments
 (0)