Skip to content

Commit

Permalink
fix: Dockerfile go-wayback tool installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhinandan-Khurana committed Feb 3, 2025
1 parent ae0d85b commit f79b19d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +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 main.go
RUN mv go_wayback /usr/bin
WORKDIR go-wayback
RUN go build -o go-wayback v2/main.go
RUN cp go-wayback /usr/bin/

FROM --platform=linux/amd64 python:3.9-slim

Expand All @@ -29,7 +29,7 @@ RUN mv go_virustotal-linux-v1.0.1 go_virustotal
RUN mv go_virustotal /usr/bin

# Install Go_Wayback
COPY --from=go-wayback-builder /usr/bin/go_wayback /usr/bin
COPY --from=go-wayback-builder /usr/bin/go-wayback /usr/bin

# Install HTTPX
RUN echo "Installing HTTPX"
Expand Down

0 comments on commit f79b19d

Please sign in to comment.