Assuming:
Dockerfile
that I do not reviewdocker build
or similar) on my infrastructureIs this insecure for my infrastructure/machine?
If so, why?
For more context, this is like a CI system where I build customer's Docker images on my infrastructure.
You are giving arbitrary code access to write to disk, use memory, use up to 5 minutes of CPU time, access the network, and access the same kernel running everything else on the host. There are various attacks I could think of: