Closed jmontleon closed 6 years ago
Replace the file glob in this copy command.
Per https://github.com/moby/moby/issues/15858 if we have
apb-base/opt/apb/.kube/config apb-base/opt/apb/ansible.cfg apb-base/opt/apb/hosts
COPY opt/apb/* /opt/apb will leave us with
COPY opt/apb/* /opt/apb
/opt/apb/config /opt/apb/ansible.cfg /opt/apb/hosts
COPY opt/apb/. /opt/apb on the otherhand will preserve the directory structure. Leaving us with what you want:
COPY opt/apb/. /opt/apb
/opt/apb/.kube/config /opt/apb/ansible.cfg /opt/apb/hosts
Replace the file glob in this copy command.
Per https://github.com/moby/moby/issues/15858 if we have
COPY opt/apb/* /opt/apb
will leave us withCOPY opt/apb/. /opt/apb
on the otherhand will preserve the directory structure. Leaving us with what you want: