-
Notifications
You must be signed in to change notification settings - Fork 0
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
Evan Gibler
authored
Apr 28, 2024
1 parent
5575302
commit 601e141
Showing
3 changed files
with
49 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM cgr.dev/chainguard/wolfi-base as build | ||
|
||
USER root | ||
|
||
RUN apk update \ | ||
&& apk add --no-cache make go | ||
|
||
WORKDIR /deepwalk | ||
|
||
COPY . . | ||
|
||
RUN CGO_ENABLED=0 go build -o deepwalk . && chmod +x deepwalk | ||
|
||
FROM cgr.dev/chainguard/static | ||
|
||
COPY --from=build /deepwalk/deepwalk /deepwalk | ||
|
||
ENTRYPOINT ["/deepwalk"] | ||
CMD ["--help"] |
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
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