diff options
author | David Karlsson <[email protected]> | 2024-10-17 15:42:41 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-17 15:42:41 +0200 |
commit | b5852d0e685d95ce70e03ec2b4da753b82d121cf (patch) | |
tree | 736056e3e08d8d524537dea39e678f12ba1e3596 /scripts | |
parent | b5801d8b6add72b3fdead267237874b3a73298ce (diff) | |
download | hugo-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-x | scripts/docker/install_runtimedeps_default.sh | 20 |
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 |