Skip to content

Commit 60698f9

Browse files
committed
Install Google Chrome in base
1 parent f803430 commit 60698f9

File tree

7 files changed

+296
-3
lines changed

7 files changed

+296
-3
lines changed

Containerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
ARG silverblue_version=40
22
FROM quay.io/fedora-ostree-desktops/silverblue:${silverblue_version}
33

4-
COPY vscode.repo /etc/yum.repos.d/vscode.repo
5-
COPY microsoft-release-public-key.asc /etc/pki/rpm-gpg/microsoft-release-public-key.asc
4+
COPY overlay-root/etc/ /etc/
5+
6+
RUN mkdir -p /var/opt \
7+
&& mkdir -p /usr/lib/opt/google \
8+
&& ln -s /usr/lib/opt/google /var/opt/google
69

710
RUN --mount=type=bind,source=packages.json,target=/packages.json,z \
8-
rpm-ostree override remove \
11+
rpm --import /etc/pki/rpm-gpg/google-linux-public-key.asc \
12+
&& rpm-ostree override remove \
913
$(jq -r '"--install=\(.add[].name)"' /packages.json | paste -d" " -) \
1014
$(jq -r '.remove[].name' /packages.json | paste -d" " -) \
1115
&& systemctl enable rpm-ostreed-automatic.timer \

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,14 @@
11
# custom-silverblue
2+
23
Following Jorge Castro's lead and making my own spin on Silverblue
4+
5+
## Google Linux Signing Keys
6+
7+
Google does something weird with their keys for signing RPMs.
8+
They add new subkeys every year or so and start signing with that.
9+
The subkey
10+
When things start breaking eventually, get the new key with:
11+
12+
```
13+
wget -O overlay-root/etc/pki/rpm-gpg/google-linux-public-key.asc https://dl.google.com/linux/linux_signing_key.pub
14+
```

overlay-root/etc/pki/rpm-gpg/google-linux-public-key.asc

Lines changed: 267 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[google-chrome]
2+
name=google-chrome
3+
baseurl=https://dl.google.com/linux/chrome/rpm/stable/x86_64
4+
enabled=1
5+
gpgcheck=1
6+
gpgkey=file:///etc/pki/rpm-gpg/google-linux-public-key.asc
File renamed without changes.

packages.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
"name": "gnome-tweaks",
1717
"_comment": "Lets me put the titlebar buttons on the left"
1818
},
19+
{
20+
"name": "google-chrome-stable",
21+
"_comment": "Real upstream Google Chrome. Being in a Flatpak breaks its sandbox."
22+
},
1923
{
2024
"name": "guestfs-tools",
2125
"_comment": "Optiional package of Virtualization group"

0 commit comments

Comments
 (0)