Giter Site home page Giter Site logo

Comments (5)

Senanfurkan avatar Senanfurkan commented on September 10, 2024

Hello,

I changed .conf files manually by looking your comments. This time, it gives error at this step;

Reading package lists...
Building dependency tree...
Reading state information...
git is already the newest version (1:2.11.0-3+deb9u5).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
# github.com/OWASP/Amass/graph/db
../Amass/graph/db/cayley.go:614:26: not enough arguments in call to p.BuildIterator
	have ()
	want (context.Context)
../Amass/graph/db/cayley.go:614:37: not enough arguments in call to p.BuildIterator().Optimize
	have ()
	want (context.Context)
../Amass/graph/db/cayley.go:615:10: it.Close undefined (type iterator.Shape has no field or method Close)
../Amass/graph/db/cayley.go:618:8: it.Next undefined (type iterator.Shape has no field or method Next)
../Amass/graph/db/cayley.go:619:14: it.Result undefined (type iterator.Shape has no field or method Result)
../Amass/graph/db/cayley.go:629:26: not enough arguments in call to p.BuildIterator
	have ()
	want (context.Context)
../Amass/graph/db/cayley.go:629:37: not enough arguments in call to p.BuildIterator().Optimize
	have ()
	want (context.Context)
../Amass/graph/db/cayley.go:630:10: it.Close undefined (type iterator.Shape has no field or method Close)
../Amass/graph/db/cayley.go:633:8: it.Next undefined (type iterator.Shape has no field or method Next)
../Amass/graph/db/cayley.go:641:26: not enough arguments in call to p.BuildIterator
	have ()
	want (context.Context)
../Amass/graph/db/cayley.go:641:26: too many errors
ERROR: Service 'black_amass' failed to build: The command '/bin/sh -c apt update && apt install -y git && go get -f -u github.com/OWASP/Amass/...' returned a non-zero code: 2

from project-black.

c0rv4x avatar c0rv4x commented on September 10, 2024

Hey,

Thanks for creating the issue. I will have a look at it

from project-black.

c0rv4x avatar c0rv4x commented on September 10, 2024

Can you replace docker/amass.yml with this?

FROM golang:1.13-alpine3.10 as build
RUN apk --no-cache add git
RUN go get github.com/OWASP/Amass; exit 0
ENV GO111MODULE on
WORKDIR /go/src/github.com/OWASP/Amass
RUN go install ./...


# Build python worker for amass
FROM python:3.6
LABEL Name=amass_black Version=1.0.0

COPY --from=build /go/bin/amass /bin/amass

RUN apt-get update
RUN apt-get install -y software-properties-common
RUN apt-get update

RUN apt install -y \
    build-essential

RUN python3.6 -m pip install --upgrade pip

WORKDIR /app
ADD . /app

RUN python3.6 -m pip install -r requirements.txt

CMD ["python3.6", "spawn_worker.py", "amass", "--config", "/app/config/config_docker.yml"]

seems to be working for me

from project-black.

marcobelmonte avatar marcobelmonte commented on September 10, 2024

Hi, I'm getting the same error as the original one posted by the creator of this issue. I changed the amass.yml to reflect the changes posted above but I still get the following error:

image

It appears that the PPA is private and from reading the overview it looks like a protest against companies that abuse the GPL is in place. Please let me know the preferred way to donate to your cause and have it tied to my github account since I don't have launchpad account.

Thanks in advance!

from project-black.

Senanfurkan avatar Senanfurkan commented on September 10, 2024

@marcobelmonte Hi ! You should change every .yml file inside of the docker folder and replace the new PPA instead of private one.

from project-black.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.