Skip to content

Commit d68a3d7

Browse files
committed
Move ENV command to the top
1 parent d2fb4a5 commit d68a3d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docker/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ MAINTAINER Rapid7
44
ARG BUNDLER_ARGS="--jobs=8 --without development test coverage"
55
ENV APP_HOME /usr/src/metasploit-framework/
66
ENV MSF_USER msf
7+
ENV NMAP_PRIVILEGED=""
78
WORKDIR $APP_HOME
89

910
COPY Gemfile* m* Rakefile $APP_HOME
@@ -52,6 +53,4 @@ USER $MSF_USER
5253

5354
ADD ./ $APP_HOME
5455

55-
ENV NMAP_PRIVILEGED=""
56-
5756
CMD ["./msfconsole", "-r", "docker/msfconsole.rc"]

0 commit comments

Comments
 (0)