mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
Merge pull request #947 from linuxserver/code-server-powershell-exec
This commit is contained in:
commit
8828b2def4
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user