Skip to content

Commit

Permalink
Install edge
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Jan 28, 2025
1 parent 4589d7c commit 92bec2b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions webtop_kde/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,34 @@ ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templat
ARG CONFIGLOCATION="/config/data_kde"
RUN chmod 744 /ha_lsio.sh && if grep -qr "lsio" /etc; then /ha_lsio.sh "$CONFIGLOCATION"; fi && rm /ha_lsio.sh

# Install edge
RUN \
echo "**** add icon ****" && \
curl -o \
/kclient/public/icon.png \
https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/edge-logo.png && \
apt-get update && \
echo "**** install edge ****" && \
if [ -z ${EDGE_VERSION+x} ]; then \
EDGE_VERSION=$(curl -sL https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/ | awk -F'(<a href="microsoft-edge-stable_|_amd64.deb")' '/href=/ {print $2}' | sort --version-sort | tail -1); \
fi && \
curl -o \
/tmp/edge.deb -L \
"https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_${EDGE_VERSION}_amd64.deb" && \
apt install --no-install-recommends -y \
/tmp/edge.deb && \
echo "**** edge docker tweaks ****" && \
mv \
/usr/bin/microsoft-edge \
/usr/bin/microsoft-edge-real && \
echo "**** cleanup ****" && \
apt-get autoclean && \
rm -rf \
/config/.cache \
/var/lib/apt/lists/* \
/var/tmp/* \
/tmp/*

##################
# 3 Install apps #
##################
Expand Down

0 comments on commit 92bec2b

Please sign in to comment.