Skip to content

Commit

Permalink
removed unnecessary commands from Dockerfile, updated README.md in ex…
Browse files Browse the repository at this point in the history
…tras/docker
  • Loading branch information
Q-back committed Jan 28, 2020
1 parent 261897d commit 8cdbb38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions extras/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ RUN apt-get install -y python-pip build-essential libxslt1-dev libxml2-dev libsq
ca-certificates libffi-dev zlib1g-dev nodejs nodejs-dev libssl1.0-dev \
node-gyp npm

RUN wget https://www.python.org/ftp/python/2.7.16/Python-2.7.16.tgz
RUN tar xzvf Python-2.7.16.tgz
RUN cd Python-2.7.16/ && ./configure && make && make install
RUN python --version

# Add the w3af user
# TODO - actually use the w3af user instead of running everything as root
RUN useradd w3af
Expand All @@ -46,7 +41,6 @@ RUN cat /home/w3af/.ssh/w3af-docker.pub >> /root/.ssh/authorized_keys

# Get and install pip
RUN pip install --index-url=https://pypi.python.org/simple/ --upgrade pip
RUN python2.7 -m ensurepip --default-pip
#
# We install some pip packages before adding the code in order to better leverage
# the docker cache
Expand Down
2 changes: 1 addition & 1 deletion extras/docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ $ cd w3af
$ # <your changes to w3af here>
$ cd extras/docker/
$ pip install --upgrade docker-tag-naming
$ sudo ./docker-build.sh
$ sudo ./docker-build-local.sh
...
```

Expand Down

0 comments on commit 8cdbb38

Please sign in to comment.