hashicorp / hashicorp/packer-plugin-docker

builder/docker: upload files with `-a` flag when upstream bug is fixed

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
builder/docker enhancement
Dominant language
Go
Stars
40
Forks
29
PR merge metrics
No merged PRs in 30d

Description

_This issue was originally opened by @mwhooker as hashicorp/packer#5409. It was migrated here as a result of the [Packer plugin split](https://github.com/hashicorp/packer/issues/8610#issuecomment-770034737). The original body of the issue is below._


We should set ownership of files based on the container user. In theory, this should be doable with the `-a` flag to `docker cp`, but there's a bug that prevents that. When https://github.com/moby/moby/issues/34142 is fixed, let's change `docker cp` to be `docker cp -a`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.