Skip to content
Snippets Groups Projects
Commit 410139b7 authored by Dan Notestein's avatar Dan Notestein
Browse files

Update 2 files

- /scripts/ci-helpers/build_instance.sh
- /docker/README.md
parent 07b92439
No related branches found
No related tags found
1 merge request!83Merge develop to master for release
Pipeline #107543 passed
...@@ -46,9 +46,9 @@ There are also some other targets meant to be used by CI only: *ci-runner-ci*, * ...@@ -46,9 +46,9 @@ There are also some other targets meant to be used by CI only: *ci-runner-ci*, *
To build a given target run `docker buildx bake [target-name]`. If no target name is provided the *default* target will be built. To build a given target run `docker buildx bake [target-name]`. If no target name is provided the *default* target will be built.
On Linux, you can also run `scripts/build_docker_image.sh [src_dir] --target=[target-name]` to build any of the targets. If no target name is provided the *default* target will be built. Run `scripts/build_docker_image.sh --help` to see all the options. On Linux, you can also run `scripts/ci-helpers/build_docker_image.sh [src_dir] --target=[target-name]` to build any of the targets. If no target name is provided the *default* target will be built. Run `scripts/ci-helpers/build_docker_image.sh --help` to see all the options.
There's also `scripts/ci-helpers/build_instance.sh`, which can be used to build the *full* target. Running `scripts/ci-helpers/build_instance.sh [image_tag] [src_dir] [registry_url]` is functionally identical to running `scripts/build_docker_image.sh [src_dir] --registry=[registry_url] --target=full --tag=[image_tag]`. There's also `scripts/ci-helpers/build_instance.sh`, which can be used to build the *full* target. Running `scripts/ci-helpers/build_instance.sh [image_tag] [src_dir] [registry_url]` is functionally identical to running `scripts/ci-helpers/build_docker_image.sh [src_dir] --registry=[registry_url] --target=full --tag=[image_tag]`.
## Running reputation Tracker with Docker Compose ## Running reputation Tracker with Docker Compose
......
...@@ -55,7 +55,7 @@ else ...@@ -55,7 +55,7 @@ else
TARGET="full" TARGET="full"
fi fi
scripts/build_docker_image.sh "$SRCROOTDIR" --registry="$REGISTRY" --target="$TARGET" --tag="$BUILD_IMAGE_TAG" scripts/ci-helpers/build_docker_image.sh "$SRCROOTDIR" --registry="$REGISTRY" --target="$TARGET" --tag="$BUILD_IMAGE_TAG"
# On CI pull the image form the registry since it's pushed directly to the registry after build # On CI pull the image form the registry since it's pushed directly to the registry after build
if [[ -n ${CI:-} ]]; then if [[ -n ${CI:-} ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment