Skip to content

cmd/occollectpr/Dockerfile and cmd/otelsvc/Dockerfile assumes platform is always linux #49

@etsangsplk

Description

@etsangsplk

both of those files assumes the built platform is always linus but in Makefile unde rthe main repo, it tries to detect it on runtime. So this will fail on say darwin.

Example:
FROM alpine:latest as certs
RUN apk --update add ca-certificates

FROM scratch
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY occollector_linux / . <---
ENTRYPOINT ["/occollector_linux"] <<-----
EXPOSE 55678

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions