Move ENV command to the top
parent
d2fb4a5ca1
commit
d68a3d77f5
|
@ -4,6 +4,7 @@ MAINTAINER Rapid7
|
|||
ARG BUNDLER_ARGS="--jobs=8 --without development test coverage"
|
||||
ENV APP_HOME /usr/src/metasploit-framework/
|
||||
ENV MSF_USER msf
|
||||
ENV NMAP_PRIVILEGED=""
|
||||
WORKDIR $APP_HOME
|
||||
|
||||
COPY Gemfile* m* Rakefile $APP_HOME
|
||||
|
@ -52,6 +53,4 @@ USER $MSF_USER
|
|||
|
||||
ADD ./ $APP_HOME
|
||||
|
||||
ENV NMAP_PRIVILEGED=""
|
||||
|
||||
CMD ["./msfconsole", "-r", "docker/msfconsole.rc"]
|
||||
|
|
Loading…
Reference in New Issue