Until recently this step:
- name: postgres
image: mdillon/postgis:11-alpine
environment:
POSTGRES_MULTIPLE_DATABASES: "parrots_development,organization_development,user_development,bank_development,foundry_development"
POSTGRES_USER: menamena
POSTGRES_PASSWORD: menamena
entrypoint: [/bin/sh]
command:
[
-c,
"cp /drone/src/scripts/docker/development/create-multiple-postgres-dbs/create-multiple-postgres-dbs.sh /docker-entrypoint-initdb.d; docker-entrypoint.sh postgres"
]
Was just working fine. But now, it won’t work and instead just outputs this:
+ /bin/sh -c cp /drone/src/scripts/docker/development/create-multiple-postgres-dbs/create-multiple-postgres-dbs.sh /docker-entrypoint-initdb.d; docker-entrypoint.sh postgres
BusyBox v1.29.3 (2019-01-24 07:45:07 UTC) multi-call binary.
Usage: cp [OPTIONS] SOURCE... DEST
Copy SOURCE(s) to DEST
-a Same as -dpR
-R,-r Recurse
-d,-P Preserve symlinks (default if -R)
-L Follow all symlinks
-H Follow symlinks on command line
-p Preserve file attributes if possible
-f Overwrite
-i Prompt before overwrite
-l,-s Create (sym)links
-T Treat DEST as a normal file
-u Copy only newer files
Any ideas why?