Omnition / synthetic-load-generator

Generates synthetic operational load (traces, metrics, logs, events) simulating a microservice-based app.
Apache License 2.0
67 stars 35 forks source link

Prevent mkdir err #37

Closed albertteoh closed 3 years ago

albertteoh commented 3 years ago

Signed-off-by: albertteoh albert.teoh@logz.io

I get the following error when running make build because I already had an /opt dir:

 => ERROR [2/7] RUN mkdir /opt /opt/omnition /opt/omnition/topologies                                                                                                                                              

This PR uses the mkdir -p flag that performs an idempotent mkdir operation.