Multi-Arch Dockerfile - is there a way to select which source to COPY based on Architecture

Viewed 165

Yes, RUN yum install works for either, but if you want to execute COPY gosu /usr/bin/gosu is there a way to selectively copy gosu-arm64 and gosu-armv7 depending on the target architecture?

I looked, did not find anything, now looking for skunkwork solutions...

0 Answers
Related