-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/go_modules/test_integration/githu…
…b.com/compose-spec/compose-go/v2-2.4.1
- Loading branch information
Showing
53 changed files
with
1,890 additions
and
258 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -444,4 +444,5 @@ traefik | |
bprotocolcompute | ||
bprotocolorchestrator | ||
nclprotocolcompute | ||
ncltest | ||
ncltest | ||
dind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
# Bacalhau Base Image | ||
|
||
This is the standard Bacalhau container image, suitable for running orchestrator nodes, clients, and compute nodes with non-Docker execution engines (like WASM). | ||
|
||
## Image Information | ||
|
||
- Base Image: `ubuntu:24.04` | ||
- Registry: `ghcr.io/bacalhau-project/bacalhau` | ||
- Tags: | ||
- `latest`: Most recent stable release | ||
- `vX.Y.Z`: Specific version (e.g., `v1.6.0`) | ||
|
||
## Use Cases | ||
|
||
This image is ideal for: | ||
- Running orchestrator nodes | ||
- Running the Bacalhau client for job submission | ||
- Running compute nodes that don't require Docker execution capabilities | ||
|
||
## Usage Examples | ||
|
||
### Running an Orchestrator Node | ||
|
||
```bash | ||
docker run ghcr.io/bacalhau-project/bacalhau:latest serve --orchestrator | ||
``` | ||
|
||
### Using as a Client | ||
|
||
```bash | ||
docker run ghcr.io/bacalhau-project/bacalhau:latest list | ||
``` | ||
|
||
### Running a WASM Compute Node | ||
|
||
```bash | ||
docker run ghcr.io/bacalhau-project/bacalhau:latest serve --compute | ||
``` | ||
|
||
### Running a Specific Version | ||
|
||
```bash | ||
docker run ghcr.io/bacalhau-project/bacalhau:v1.6.0 serve | ||
``` | ||
|
||
## Features | ||
|
||
- Minimal image size | ||
- Standard Ubuntu-based environment | ||
- Support for orchestrator nodes | ||
- Support for client operations | ||
- Support for WASM compute nodes | ||
- Multi-architecture support (amd64/arm64) | ||
|
||
## When to Use This Image | ||
|
||
Use this image when: | ||
- Running orchestrator nodes[README.md](../bacalhau-dind/README.md) | ||
[README.md](README.md) | ||
- Using Bacalhau as a client | ||
- Running compute nodes with WASM execution | ||
- Running in environments where Docker-in-Docker is not needed or desired | ||
- Minimal container footprint is desired | ||
|
||
For compute nodes requiring Docker execution capabilities, use the DinD variant instead (`bacalhau:latest-dind`). | ||
|
||
## Additional Resources | ||
|
||
- [Bacalhau Documentation](https://docs.bacalhau.org/) | ||
- [GitHub Repository](https://github.com/bacalhau-project/bacalhau) | ||
- [Getting Started Guide](https://docs.bacalhau.org/getting-started) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM docker:dind | ||
|
||
# Install necessary packages | ||
RUN apk update && apk add --no-cache \ | ||
curl \ | ||
bash \ | ||
coreutils | ||
|
||
# Automatically set by Docker to be the --platform flag | ||
ARG TARGETPLATFORM | ||
|
||
# Take advantage of the format for $TARGETPLATFORM being "OS/ARCH" | ||
# which matches our output directory structure in ./bin | ||
ADD bin/$TARGETPLATFORM/bacalhau /usr/local/bin/bacalhau | ||
|
||
# Add our custom entrypoint script | ||
COPY docker/bacalhau-dind/entrypoint.sh /usr/local/bin/ | ||
RUN chmod +x /usr/local/bin/entrypoint.sh | ||
|
||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh", "bacalhau"] | ||
|
||
LABEL org.opencontainers.image.source="https://github.com/bacalhau-project/bacalhau" | ||
LABEL org.opencontainers.image.title="Bacalhau" | ||
LABEL org.opencontainers.image.description="The Bacalhau network provides distributed compute over data. See https://bacalhau.org for more info." | ||
LABEL org.opencontainers.image.licenses="Apache-2.0" | ||
LABEL org.opencontainers.image.url="https://bacalhau.org" |
Oops, something went wrong.