Download wp-calypso/bin/build-docker.sh from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 496 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/bin/build-docker.sh
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/bin/build-docker.sh
-
curl -L -o build-docker.sh https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/bin/build-docker.sh
496 Bytes
| set -o errexit | |
| set -o nounset | |
| set -o pipefail | |
| if [[ -z "${1:-}" ]] ; then | |
| echo "Missing version. Usage:" | |
| echo "$0 <version>" | |
| exit 1 | |
| fi | |
| VERSION="$1" | |
| BUILDER_IMAGE_NAME="registry.a8c.com/calypso/base" | |
| CI_IMAGE_NAME="registry.a8c.com/calypso/ci" | |
| BUILDER_IMAGE="${BUILDER_IMAGE_NAME}:${VERSION}" | |
| CI_IMAGE="${CI_IMAGE_NAME}:${VERSION}" | |
| docker build -f Dockerfile.base --no-cache --target builder -t "$BUILDER_IMAGE" . | |
| docker build -f Dockerfile.base --target ci -t "$CI_IMAGE" . | |