Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile volumes need to reference volume.owner and volume.group #19

Open
micahkemp-splunk opened this issue Oct 14, 2020 · 0 comments

Comments

@micahkemp-splunk
Copy link
Contributor

# create VOLUMEs after untarring splunk
{% for volume in volumes %}
{% if volume.mount_type == 'image_volume' %}
USER {{ splunk_user_id }}:{{ splunk_group_id }}
RUN mkdir -p {{ volume.path }}
VOLUME {{ volume.path }}
{% endif %}
{% endfor %}

may need to be:

# create VOLUMEs after untarring splunk
{% for volume in volumes %}
{% if volume.mount_type == 'image_volume' %}
USER {{ volume.owner }}:{{ volume.group }}
RUN mkdir -p {{ volume.path }}
VOLUME {{ volume.path }}
{% endif %}
{% endfor %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant