-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Roman Shaposhnik <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 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,11 +1,12 @@ | ||
FROM alpine:3.12 | ||
FROM lfedge/eve-alpine:8a53b741d47f42752db30dd896c3467433bac152 as build | ||
ENV BUILD_PKGS perl git gawk | ||
RUN eve-alpine-deploy.sh | ||
|
||
RUN apk add --no-cache perl=5.30.3-r0 git=2.26.3-r0 gawk=5.1.0-r0 | ||
|
||
RUN git clone --single-branch https://github.com/brendangregg/FlameGraph /FlameGraph | ||
|
||
COPY entrypoint.sh / | ||
WORKDIR /out | ||
RUN git clone --single-branch https://github.com/brendangregg/FlameGraph FlameGraph | ||
COPY entrypoint.sh ./ | ||
|
||
FROM scratch | ||
COPY --from=build /out/ / | ||
WORKDIR /FlameGraph | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |