Skip to content

Commit

Permalink
fix: Dockerfile go-wayback(linux/amd64) and go_virustotal installatio…
Browse files Browse the repository at this point in the history
…n issue
  • Loading branch information
Abhinandan-Khurana committed Feb 5, 2025
1 parent f79b19d commit 6531dd3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6531dd3

Please sign in to comment.