Skip to content

Commit 525906d

Browse files
authored
Refactor Dockerfile to remove Chrome and add env var
Removed Google Chrome installation steps and added XDG_DATA_DIRS environment variable.
1 parent 8c271a0 commit 525906d

1 file changed

Lines changed: 2 additions & 17 deletions

File tree

Dockerfile

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,6 @@ FROM lscr.io/linuxserver/webtop:fedora-kde
33
# Switch to root to manage system packages
44
USER root
55

6-
# LAYER 1: Add Google Chrome repository (extremely lightweight, acts as a base)
7-
RUN echo -e "[google-chrome]\n\
8-
name=google-chrome\n\
9-
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64\n\
10-
enabled=1\n\
11-
gpgcheck=1\n\
12-
gpgkey=https://dl.google.com/linux/linux_signing_key.pub" > /etc/yum.repos.d/google-chrome.repo
13-
14-
# Google Chrome
15-
RUN dnf clean all && \
16-
dnf install -y google-chrome-stable && \
17-
dnf clean all
18-
19-
RUN dnf clean all && \
20-
dnf install -y pipewire-jack-audio-connection-kit xournalpp && \
21-
dnf clean all
22-
236
# Other Custom Packages
247
RUN dnf clean all && \
258
dnf install -y \
@@ -36,3 +19,5 @@ RUN dnf clean all && \
3619
flatpak \
3720
fuse-libs && \
3821
dnf clean all
22+
23+
ENV XDG_DATA_DIRS="/usr/local/share:/usr/share:/config/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share"

0 commit comments

Comments
 (0)