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
#!/usr/bin/env bash | |
# A `docker-compose` wrapper for multiple configuration files with relative paths. | |
# Specifically, build contexts are relative to each compose file's location. | |
# | |
# > The way multiple compose file get merged together is now defined by the Compose Specification: | |
# > https://github.com/compose-spec/compose-spec/blob/master/spec.md#compose-file | |
# >> Relative paths MUST be resolved based on the first Compose file's parent folder, | |
# >> whenever complimentary files being merged are hosted in other folders. | |
# See issue https://github.com/docker/compose/issues/3874#issuecomment-1012923100 |