Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
j3ssie committed Jul 13, 2023
1 parent 0782a83 commit 66f393d
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
FROM golang:1.17-buster as builder
RUN GO111MODULE=on GOOS=linux go get -ldflags "-linkmode external -extldflags -static" github.com/jaeles-project/jaeles

FROM alpine:latest
RUN apk add chromium
WORKDIR /
COPY --from=builder /go/bin/jaeles /bin/jaeles
FROM golang:1.20-buster as builder
RUN go install github.com/jaeles-project/jaeles@latest
RUN apt update -qq \
&& apt install -y chromium && apt clean
WORKDIR /root/
EXPOSE 5000
RUN jaeles config init -y
ENTRYPOINT ["/bin/jaeles"]
ENTRYPOINT ["/go/bin/jaeles"]

0 comments on commit 66f393d

Please sign in to comment.