open-nsm / ContainNSM

Dockerfiles for NSM tools
84 stars 14 forks source link

Use ARG option to add options to Dockerfiles #47

Open jonschipp opened 7 years ago

jonschipp commented 7 years ago

For paths and stuff

ARG BLAH
ARG USERNAME
RUN apt-get install BLAH
USER USERNAME

Use: docker build -t test --build-arg BLAH=vim .