Comments (9)
Hello @wickett , @karthequian
Same here... the cause is apt-get installing max Ruby 2.3.1 and dependencies requiring Ruby >= 2.4.0 after the latest fix.
@dehvCurtis, @JoelMVanDyk, @svikram1707
I managed to fix it for the purpose of the training but I'm not a coder so be careful. Here are the changes I made to dockerfile:
# Install Ruby and other OS stuff
RUN apt-get update && \
# added the row below to add a repo later
apt-get install -y software-properties-common && \
apt-get install -y build-essential \
bzip2 \
ca-certificates \
curl \
gcc \
git \
libcurl3 \
libcurl4-openssl-dev \
wget \
zlib1g-dev \
libfontconfig \
libxml2-dev \
libxslt1-dev \
make \
python-pip \
python2.7 \
python2.7-dev \
# ruby \
# ruby-dev \
# ruby-bundler && \
&& rm -rf /var/lib/apt/lists/*
RUN apt-add-repository ppa:brightbox/ruby-ng #added
RUN apt-get update #added
RUN apt-get install ruby2.4 ruby2.4-dev -y #added
RUN ruby --version #test if ruby version is right
# Install Gauntlt
RUN ruby -v #test if ruby version is right
RUN gem install rake
RUN gem install ffi -v 1.9.18
RUN apt-get upgrade -y #added because you get a request to upgrade
RUN gem install gauntlt --no-rdoc --no-ri
from gauntlt-docker.
I get pretty much the same, even though when I do:
"ruby -v"
I get:
ruby 2.7.1p83. (2020-03-31 revision a0c7c23c9c). [x86_linux]
from gauntlt-docker.
same. Tried on both Ubuntu 18.04 and RHEL 8
Done installing documentation for ffi after 24 seconds
1 gem installed
db1512af6d6d9eb30e2357e20e971ee3655538dfa48cece018277859e51949b7
STEP 7: RUN gem install gauntlt --no-rdoc --no-ri
Fetching: trollop-2.9.10.gem (100%)
! The 'trollop' gem has been deprecated and has been replaced by 'optimist'.
! See: https://rubygems.org/gems/optimist
! And: https://github.com/ManageIQ/optimist
Successfully installed trollop-2.9.10
Fetching: mini_portile2-2.4.0.gem (100%)
Successfully installed mini_portile2-2.4.0
Fetching: nokogiri-1.10.10.gem (100%)
Building native extensions. This could take a while...
Successfully installed nokogiri-1.10.10
Fetching: rspec-support-3.9.3.gem (100%)
Successfully installed rspec-support-3.9.3
Fetching: diff-lcs-1.4.4.gem (100%)
Successfully installed diff-lcs-1.4.4
Fetching: rspec-expectations-3.9.2.gem (100%)
Successfully installed rspec-expectations-3.9.2
Fetching: childprocess-4.0.0.gem (100%)
ERROR: Error installing gauntlt:
childprocess requires Ruby version >= 2.4.0.
Error: error building at STEP "RUN gem install gauntlt --no-rdoc --no-ri": error while running runtime: exit status 1
make: *** [Makefile:5: build] Error 125
from gauntlt-docker.
Hello @wickett , @karthequian
Same here... the cause is apt-get installing max Ruby 2.3.1 and dependencies requiring Ruby >= 2.4.0 after the latest fix.
@dehvCurtis, @JoelMVanDyk, @svikram1707
I managed to fix it for the purpose of the training but I'm not a coder so be careful. Here are the changes I made to dockerfile:
# Install Ruby and other OS stuff
RUN apt-get update && \
# added the row below to add a repo later
apt-get install -y software-properties-common && \
apt-get install -y build-essential \
bzip2 \
ca-certificates \
curl \
gcc \
git \
libcurl3 \
libcurl4-openssl-dev \
wget \
zlib1g-dev \
libfontconfig \
libxml2-dev \
libxslt1-dev \
make \
python-pip \
python2.7 \
python2.7-dev \
# ruby \
# ruby-dev \
# ruby-bundler && \
&& rm -rf /var/lib/apt/lists/*
RUN apt-add-repository ppa:brightbox/ruby-ng #added
RUN apt-get update #added
RUN apt-get install ruby2.4 ruby2.4-dev -y #added
RUN ruby --version #test if ruby version is right
# Install Gauntlt
RUN ruby -v #test if ruby version is right
RUN gem install rake
RUN gem install ffi -v 1.9.18
RUN apt-get upgrade -y #added because you get a request to upgrade
RUN gem install gauntlt --no-rdoc --no-ri
thanks so much! I'll give it a try today.
from gauntlt-docker.
So, got a lot farther, now down to step 14/30. But, it starts throwing errors again there at
RUN gem install ffi -v 1.9.18
says;
[91mERROR: Error installing ffi:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.4.0/gems/ffi-1.13.1/ext/ffi_c
I've also tried without the -v flag, with the same result.
Any help is appreciated...
from gauntlt-docker.
from gauntlt-docker.
This works, as long as I build on Ubuntu (18 or greater), not Fedora.
from gauntlt-docker.
So, got a lot farther, now down to step 14/30. But, it starts throwing errors again there at
RUN gem install ffi -v 1.9.18
says;
[91mERROR: Error installing ffi:
ERROR: Failed to build gem native extension.current directory: /var/lib/gems/2.4.0/gems/ffi-1.13.1/ext/ffi_c
I've also tried without the -v flag, with the same result.
Any help is appreciated...
I have done some changes into dockerfile:
FROM ubuntu:16.04
MAINTAINER [email protected]
ARG ARACHNI_VERSION=arachni-1.5.1-0.5.12
Install Ruby and other OS stuff
RUN apt-get update &&
apt-get install -y build-essential
bzip2
ca-certificates
curl
gcc
git
libcurl3
libcurl4-openssl-dev
wget
zlib1g-dev
libfontconfig
libxml2-dev
libxslt1-dev
make
python-pip
python2.7
python2.7-dev
#ruby
#ruby-dev
#ruby-bundler &&
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update
RUN apt-get -y install software-properties-common
RUN apt-add-repository ppa:brightbox/ruby-ng #added
RUN apt-get update #added
RUN apt-get install ruby2.7 ruby2.7-dev -y #added
RUN ruby --version #test if ruby version is right
Install Gauntlt
RUN ruby -v #test if ruby version is right
RUN gem install rake
RUN gem install ffi -v 1.9.18
RUN gem install rake
RUN gem install gauntlt --no-document
Install Attack tools
WORKDIR /opt
arachni
RUN wget https://github.com/Arachni/arachni/releases/download/v1.5.1/${ARACHNI_VERSION}-linux-x86_64.tar.gz &&
tar xzvf ${ARACHNI_VERSION}-linux-x86_64.tar.gz > /dev/null &&
mv ${ARACHNI_VERSION} /usr/local &&
ln -s /usr/local/${ARACHNI_VERSION}/bin/* /usr/local/bin/
Nikto
RUN apt-get update &&
apt-get install -y libtimedate-perl
libnet-ssleay-perl &&
rm -rf /var/lib/apt/lists/*
RUN git clone --depth=1 https://github.com/sullo/nikto.git &&
cd nikto/program &&
rm -rf /var/lib/apt/lists/*
RUN git clone --depth=1 https://github.com/sullo/nikto.git &&
cd nikto/program &&
echo "EXECDIR=/opt/nikto/program" >> nikto.conf &&
ln -s /opt/nikto/program/nikto.conf /etc/nikto.conf &&
chmod +x nikto.pl &&
ln -s /opt/nikto/program/nikto.pl /usr/local/bin/nikto
sqlmap
WORKDIR /opt
ENV SQLMAP_PATH /opt/sqlmap/sqlmap.py
RUN git clone --depth=1 https://github.com/sqlmapproject/sqlmap.git
dirb
COPY vendor/dirb222.tar.gz dirb222.tar.gz
RUN tar xvfz dirb222.tar.gz > /dev/null &&
cd dirb222 &&
chmod 755 ./configure &&
./configure &&
make &&
ln -s /opt/dirb222/dirb /usr/local/bin/dirb
ENV DIRB_WORDLISTS /opt/dirb222/wordlists
nmap
RUN apt-get update &&
apt-get install -y nmap &&
rm -rf /var/lib/apt/lists/*
sslyz
RUN python --version
RUN pip --version
RUN pip install sslyze==1.3.4
ENV SSLYZE_PATH /usr/local/bin/sslyze
ENTRYPOINT [ "/usr/local/bin/gauntlt" ]
Working correctly till step 28. But now showing error on step 29: RUN pip install sslyze==1.3.4.
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-MqvKce/cryptography/
You are using pip version 8.1.1, however version 21.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
The command '/bin/sh -c pip install sslyze==1.3.4' returned a non-zero code: 1
from gauntlt-docker.
i was able to resolve all of these issues. The code is on my other phone. Will update soon.
from gauntlt-docker.
Related Issues (17)
- /working/tmp/aruba
- docker: invalid reference format: repository name must be lowercase.
- How to implement timeout variable
- no outfile produced
- [feature req] multiple reports
- No files found in path HOT 1
- gauntlt-docker - gives No files found - file present int the current directory
- Expanded to support all vendor tooling HOT 1
- Gaunlt docker error HOT 1
- Docker build error while installing ffi version 1.9.18 - script failed to recognize operating system you are using. HOT 1
- Errors were encountered while processing
- Make build fails -> nokorigi issue HOT 1
- gauntlt docker issue
- Upgrade to support the latest version of sslyze
- Gauntlt docker issue HOT 2
- ERROR: Failed to build gem native extension. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gauntlt-docker.