The behavior and format of this command are the same for both Astro and Astro Private Cloud.
Build your Astro project into a Docker image without starting a local Airflow environment. Use this command to verify that your project builds successfully before deployment or when you need only the image build step.This command is not available in standalone mode.
Usage
astro dev build
Options
Option
Description
Possible Values
--build-secrets
Run docker build --secret to mount a secret value to your Docker image.
Tag a pre-built custom image as the project image.
A valid Docker image name
--no-cache
Do not use cache when building your Astro project into a Docker image.
None
Examples
$ astro dev build# Build the project image$ astro dev build --no-cache# Build the project image without using Docker cache$ astro dev build --image-name my-custom-image:latest# Tag a pre-built image as the project image