-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into k0621/sec-90-fd-tests
- Loading branch information
Showing
143 changed files
with
4,538 additions
and
5,154 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
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
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 |
---|---|---|
@@ -1,18 +1,28 @@ | ||
FROM golang:1.18.0-alpine3.15 as builder | ||
FROM golang:1.19.9-alpine3.16 as builder | ||
|
||
COPY ./endpoint-monitor /app | ||
|
||
WORKDIR /app | ||
RUN apk --no-cache add make jq bash git alpine-sdk | ||
|
||
COPY ./endpoint-monitor /app/endpoint-monitor | ||
COPY ./op-service /app/op-service | ||
COPY ./op-node /app/op-node | ||
COPY ./go.mod /app/go.mod | ||
COPY ./go.sum /app/go.sum | ||
|
||
COPY ./.git /app/.git | ||
|
||
WORKDIR /app/endpoint-monitor | ||
|
||
RUN go mod download | ||
|
||
RUN make build | ||
|
||
FROM alpine:3.15 | ||
FROM alpine:3.16 | ||
RUN apk --no-cache add ca-certificates | ||
|
||
RUN addgroup -S app && adduser -S app -G app | ||
USER app | ||
WORKDIR /app | ||
|
||
COPY --from=builder /app/bin/endpoint-monitor /app | ||
COPY --from=builder /app/endpoint-monitor/bin/endpoint-monitor /app | ||
|
||
ENTRYPOINT ["/app/endpoint-monitor"] |
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.