From 884c5ebb64269e1377f0d99d7cc54df68fb0bb8e Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 5 May 2023 17:55:53 +0200 Subject: [PATCH] Update Dockerfile https://github.com/linuxserver/docker-calibre-web/issues/219#issuecomment-1435559765 --- calibre_web/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/calibre_web/Dockerfile b/calibre_web/Dockerfile index c8a946168..05f018218 100644 --- a/calibre_web/Dockerfile +++ b/calibre_web/Dockerfile @@ -29,6 +29,11 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \ S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 \ S6_SERVICES_GRACETIME=0 +RUN \ + echo '#!/bin/sh' > /usr/bin/xdg-icon-resource && chmod +x /usr/bin/xdg-icon-resource \ + && echo '#!/bin/sh' > /usr/bin/xdg-desktop-menu && chmod +x /usr/bin/xdg-desktop-menu \ + && echo '#!/bin/sh' > /usr/bin/xdg-mime && chmod +x /usr/bin/xdg-mime + # Global LSIO modifications ARG CONFIGLOCATION="/config/addons_config/calibre-web" # hadolint ignore=SC2015, SC2013, SC2086