samba-in-kubernetes / samba-container

Build Samba Container Images / Kubernetes & Container Runtime Example Files
GNU General Public License v3.0
48 stars 18 forks source link

makefile: prevent passing an unknown --arch argument to docker #138

Closed phlogistonjohn closed 1 year ago

phlogistonjohn commented 1 year ago

Assert that if the CONTAINER_CMD is docker that the --arch flag will not be passed to the container engine. Only pass an --arch flag (to podman) if BUILD_ARCH is set to some non-empty value.