container-structure-test icon indicating copy to clipboard operation
container-structure-test copied to clipboard

Feature request: support copyfile from local to container

Open wanghaoran1988 opened this issue 7 years ago • 5 comments

When testing some image, we need copy some local file to the image and verify whether it work well or not.

The "Setup" field was a set of command running in the container before we testing the image, it will better if we support "COPY" direc in the "Setup" field.

wanghaoran1988 avatar Mar 01 '18 09:03 wanghaoran1988

I would like to see this feature get in soon. We would like to run some tests this way, so that we can avoid copying test scripts into the image. This helps us keeping the images concise and doing only one thing. Please prioritize. Thanks.

goutamtadi1 avatar May 21 '18 15:05 goutamtadi1

I think this will be covered via the volume mounts in #82

dlorenc avatar May 21 '18 15:05 dlorenc

@dlorenc Thanks. that helps. Looking forward to see this coming in.

goutamtadi1 avatar May 21 '18 15:05 goutamtadi1

Agreed. We'll need to dust off the work in #82 to get this addressed. Iceboxing and adding 'help wanted'

donmccasland avatar Aug 06 '19 18:08 donmccasland

Should be possible now via #327 and v1.15

coopernetes avatar Mar 30 '23 01:03 coopernetes