diff --git a/build_frontend.sh b/build_frontend.sh index 798bc9e..1117e80 100755 --- a/build_frontend.sh +++ b/build_frontend.sh @@ -1,10 +1,7 @@ #!/bin/bash -eu -# Webpack needs more than the default 4GB RAM, and -# the OpenSSL legacy provider (https://github.com/webpack/webpack/issues/14532). -# The legacy provider can be removed once https://github.com/grafana/grafana/pull/53088 -# is released -export NODE_OPTIONS="--max_old_space_size=6144 --openssl-legacy-provider" +# Webpack needs more than the default 4GB RAM +export NODE_OPTIONS="${NODE_OPTIONS:-} --max_old_space_size=6144" # Build the frontend yarn run build diff --git a/create_bundles_in_container.sh b/create_bundles_in_container.sh index e7c982e..dca6b1b 100755 --- a/create_bundles_in_container.sh +++ b/create_bundles_in_container.sh @@ -2,7 +2,7 @@ # # create vendor and webpack bundles inside a container for reproducibility # using a Go cache: -# ./create_bundles_in_container.sh -v $(pwd)/.gocache:/root/go:z +# ./create_bundles_in_container.sh --security-opt label=disable -v $(pwd)/.gocache:/root/go # cat <