diff --git a/Dockerfile b/Dockerfile index 7c25e36..098737e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM golang:1.22 as go-wayback-builder RUN git clone https://github.com/Abhinandan-Khurana/go-wayback.git WORKDIR go-wayback -RUN go build -o go-wayback v2/main.go +RUN GOOS=linux GOARCH=amd64 go build -o go-wayback v2/main.go +RUN chmod +x go-wayback RUN cp go-wayback /usr/bin/ FROM --platform=linux/amd64 python:3.9-slim @@ -26,7 +27,8 @@ RUN rm -rf * RUN echo "Installing Go_Virustotal" RUN wget https://github.com/Abhinandan-Khurana/go_virustotal/releases/download/v1.0.1/go_virustotal-linux-v1.0.1 RUN mv go_virustotal-linux-v1.0.1 go_virustotal -RUN mv go_virustotal /usr/bin +RUN chmod +x go_virustotal +RUN mv go_virustotal /usr/bin/ # Install Go_Wayback COPY --from=go-wayback-builder /usr/bin/go-wayback /usr/bin