From 8df159c3845ec9a912a0d6edaaf0d47a0c379380 Mon Sep 17 00:00:00 2001 From: aptalca <541623+aptalca@users.noreply.github.com> Date: Tue, 27 Aug 2024 16:04:11 -0400 Subject: [PATCH] chmod exec pwsh --- Dockerfile | 2 +- .../s6-rc.d/init-mod-code-server-powershell-add-package/run | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ccf653df..f1af9fd0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -FROM ghcr.io/linuxserver/baseimage-alpine:3.20 as buildstage +FROM ghcr.io/linuxserver/baseimage-alpine:3.20 AS buildstage ARG MOD_VERSION diff --git a/root/etc/s6-overlay/s6-rc.d/init-mod-code-server-powershell-add-package/run b/root/etc/s6-overlay/s6-rc.d/init-mod-code-server-powershell-add-package/run index 9221e0a2..29e20826 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-mod-code-server-powershell-add-package/run +++ b/root/etc/s6-overlay/s6-rc.d/init-mod-code-server-powershell-add-package/run @@ -25,6 +25,7 @@ if [ -f "/powershell/powershell.tar.gz" ]; then rm -rf \ /powershell/powershell.tar.gz ln -s /powershell/pwsh /usr/bin/pwsh + chmod +x /powershell/pwsh else echo "PowerShell already installed, skipping" fi