27 lines
821 B
Markdown
27 lines
821 B
Markdown
# container-compose
|
|
|
|
neither docker-compose or podman-compose supports building multi arch images and push them to registrar. this is a bash script to attempt to fix it and add support for it.
|
|
|
|
|
|
This script checks if current dir has one of these files, in this oder
|
|
```text
|
|
compose.yaml
|
|
compose.yml
|
|
docker-compose.yaml
|
|
docker-compose.yml
|
|
podman-compose.yaml
|
|
podman-compose.yml
|
|
container-compose.yaml
|
|
container-compose.yml
|
|
```
|
|
|
|
# Install system-wide
|
|
**WARNING: DO NOT RUN RANDOM COMMANDS OFF THE INTERNET LIKE THIS, READ WHAT IT DOES AND RUN ONLY IF YOU CAN TRUST IT!**
|
|
*anyway..*
|
|
```bash
|
|
sudo curl -L https://git.shihaam.dev/shihaam/container-compose/raw/branch/main/container-compose -o /usr/local/bin/container-compose \
|
|
&& sudo chmod +x /usr/local/bin/container-compose
|
|
```
|
|
Run the same command again to update it.
|
|
|