Get faster container image builds by replacing docker build
with depot build
.
You'll need a Depot account.
Install the Depot CLI on your machine to run local builds.
macOS
Install the Depot CLI with Homebrew:
brew install depot/tap/depot
Linux
Install the Depot CLI with the installation script:
curl -L https://depot.dev/install-cli.sh | sh
All platforms
Download the binary file for your platform from the Depot CLI releases page in GitHub.
The depot build
command accepts the same parameters as the docker build
command.
depot build -t repo/image:tag .
When you run depot build
locally for the first time, you're prompted to do the following:
depot.json
file in your repository (to remember your project for future builds)Depot integrates with any CI provider. Use the following guides to help you get started:
Organizations have unlimited monthly build minutes by default. To make costs predictable, configure a usage cap for your organization:
When your organization reaches the build limit, builds won't start until the next billing period or until you raise the limit.