You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to devise a label strategy that allows appending values, for instance to add additional volumes. Currently you need to lookup the volumes label from upstream Dockerfile(s), and then copy this value while appending your changes.
E.g. the briceburg/ansible:2.1-dex image provides the label org.dockerland.dex.docker_volumes="~/.ssh/id_rsa:/dex/home/.ssh/id_rsa:ro \$ANSIBLE_CFG:\$ANSIBLE_CFG:ro ~/.ansible.cfg:/dex/home/.ansible.cfg:ro /etc/ansible/ansible.cfg"
If we want to add an additional volume in a downstream image, we have to copy this label and add the volume (say /nfs) -- org.dockerland.dex.docker_volumes="/nfs:/nfs:ro ~/.ssh/id_rsa:/dex/home/.ssh/id_rsa:ro \$ANSIBLE_CFG:\$ANSIBLE_CFG:ro ~/.ansible.cfg:/dex/home/.ansible.cfg:ro /etc/ansible/ansible.cfg" which becomes cumbersome and fragile.
The text was updated successfully, but these errors were encountered:
It would be nice to devise a label strategy that allows appending values, for instance to add additional volumes. Currently you need to lookup the volumes label from upstream Dockerfile(s), and then copy this value while appending your changes.
E.g. the
briceburg/ansible:2.1-dex
image provides the labelorg.dockerland.dex.docker_volumes="~/.ssh/id_rsa:/dex/home/.ssh/id_rsa:ro \$ANSIBLE_CFG:\$ANSIBLE_CFG:ro ~/.ansible.cfg:/dex/home/.ansible.cfg:ro /etc/ansible/ansible.cfg"
If we want to add an additional volume in a downstream image, we have to copy this label and add the volume (say
/nfs
) --org.dockerland.dex.docker_volumes="/nfs:/nfs:ro ~/.ssh/id_rsa:/dex/home/.ssh/id_rsa:ro \$ANSIBLE_CFG:\$ANSIBLE_CFG:ro ~/.ansible.cfg:/dex/home/.ansible.cfg:ro /etc/ansible/ansible.cfg"
which becomes cumbersome and fragile.The text was updated successfully, but these errors were encountered: