-
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.
A docker image will be uploaded to github's registry on new releases, it is also built as part of the QA job to ensure no regressions.
- Loading branch information
1 parent
ae8b52a
commit 4a66bce
Showing
3 changed files
with
32 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
docs/ | ||
dist/ | ||
.github/ | ||
|
||
.dockerignore | ||
.gitignore | ||
|
||
Makefile | ||
README.md | ||
LICENSE |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM golang:1.22 | ||
|
||
WORKDIR /app | ||
|
||
COPY . . | ||
|
||
ENV CGO_ENABLED=0 | ||
RUN go build -o /bin/eryth ./cmd | ||
|
||
FROM scratch | ||
|
||
COPY --from=0 /bin/eryth /bin/eryth | ||
|
||
ENTRYPOINT ["eryth"] |