podman-compose/scripts/download_and_build_podman-compose.sh

17 lines
364 B
Bash
Raw Permalink Normal View History

2024-09-18 19:13:02 +02:00
#!/bin/sh
# Delete repository dir
rm -rf podman-compose-src
# Clone repository
git clone https://github.com/containers/podman-compose podman-compose-src
# Generate binary
sh podman-compose-src/scripts/generate_binary_using_dockerfile.sh
# Move binary outside repo's dir
mv podman-compose-src/podman-compose .
# Delete repository dir
rm -rf podman-compose-src