-
-
Notifications
You must be signed in to change notification settings - Fork 322
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |