aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorDavid Karlsson <[email protected]>2024-10-17 15:42:41 +0200
committerGitHub <[email protected]>2024-10-17 15:42:41 +0200
commitb5852d0e685d95ce70e03ec2b4da753b82d121cf (patch)
tree736056e3e08d8d524537dea39e678f12ba1e3596 /scripts
parentb5801d8b6add72b3fdead267237874b3a73298ce (diff)
downloadhugo-b5852d0e685d95ce70e03ec2b4da753b82d121cf.tar.gz
hugo-b5852d0e685d95ce70e03ec2b4da753b82d121cf.zip
docker: Fix Dart Sass ARM64 arch mismatch, /cache permissions
Also improve the final build step. Closes #12956 Closes #12957 Closes #12960
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/docker/install_runtimedeps_default.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/docker/install_runtimedeps_default.sh b/scripts/docker/install_runtimedeps_default.sh
deleted file mode 100755
index 0b6c2c617..000000000
--- a/scripts/docker/install_runtimedeps_default.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-
-set -ex
-
-export DART_SASS_VERSION=1.79.3
-
-# If $BUILDARCH=arm64, then we need to install the arm64 version of Dart Sass,
-# otherwise we install the x64 version.
-ARCH="x64"
-if [ "$BUILDARCH" = "arm64" ]; then
- ARCH="arm64"
-fi
-
-cd /tmp
-curl -LJO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-${ARCH}.tar.gz
-ls -ltr
-tar -xf dart-sass-${DART_SASS_VERSION}-linux-${ARCH}.tar.gz
-rm dart-sass-${DART_SASS_VERSION}-linux-${ARCH}.tar.gz && \
-# The dart-sass folder is added to the PATH by the caller.
-mv dart-sass /var/hugo/bin \ No newline at end of file