mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-28 03:03:51 -04:00
code-server-dotnet: deprecate arm32
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
# Determine if setup is needed
|
||||
if [ -d /dotnet ]; then
|
||||
ARCH=$(uname -m)
|
||||
if [[ "${ARCH}" = "armv7l" ]]; then
|
||||
echo "**** The dotnet mod no longer supports arm32v7/armhf images, exiting ****"
|
||||
exit 0
|
||||
fi
|
||||
# install deps
|
||||
echo "**** Adding dotnet dependencies to package install list ****"
|
||||
source /etc/lsb-release
|
||||
@@ -16,7 +21,6 @@ if [ -d /dotnet ]; then
|
||||
rm -rf /dotnet_*
|
||||
fi
|
||||
DOTNET_VERSIONS=$(cat /dotnet/versions.txt)
|
||||
ARCH=$(uname -m)
|
||||
for i in $DOTNET_VERSIONS; do
|
||||
mkdir -p "/dotnet_${i}"
|
||||
tar xzf "/dotnet/dotnetsdk_${i}_${ARCH}.tar.gz" -C "/dotnet_${i}"
|
||||
|
||||
Reference in New Issue
Block a user