-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add container builds locally and through ci (#39)
* add containerization builds locally & through CI * multi-platform architecture * refactors various files to improve efficiency and development experience * sets runners to be bigger for performance --------- Co-authored-by: Adriel Perkins <adriel@adrielperkins.dev> Co-authored-by: Mitchell Phillips <mitchellp@liatrio.com> Co-authored-by: Patrick Paulino <patrickp@liatrio.com>
- Loading branch information
Showing
15 changed files
with
385 additions
and
195 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM alpine:3.18.2 as cacerts | ||
RUN apk --update add --no-cache ca-certificates | ||
|
||
FROM scratch | ||
|
||
ARG BIN_PATH=liatrio-otel-collector | ||
|
||
ARG UID=10001 | ||
USER ${UID} | ||
|
||
COPY --from=cacerts /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | ||
COPY --chmod=755 ${BIN_PATH} /usr/bin/liatrio-col | ||
COPY config/config.yaml /etc/liatrio-otel/config.yaml | ||
|
||
|
||
ENTRYPOINT ["/usr/bin/liatrio-col"] | ||
CMD ["--config=/etc/liatrio-otel/config.yaml"] | ||
EXPOSE 4317 55678 55679 |
Oops, something went wrong.