File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM golang:1.24.6 as builder
22ARG CGO_ENABLED=0
33ARG NRJMX_VERSION
4- ARG DOWNLOAD_BASE_URL=http://nr-downloads-ohai-staging.s3-website-us-east-1.amazonaws.com
54WORKDIR /go/src/github.com/newrelic/nri-kafka
65COPY . .
76RUN make clean compile
87WORKDIR /
9- ADD ${DOWNLOAD_BASE_URL} /infrastructure_agent/binaries/linux/noarch/nrjmx_linux_${NRJMX_VERSION}_noarch.tar.gz ./
8+ ADD http://download.newrelic.com /infrastructure_agent/binaries/linux/noarch/nrjmx_linux_${NRJMX_VERSION}_noarch.tar.gz ./
109RUN tar -xzf nrjmx_linux_${NRJMX_VERSION}_noarch.tar.gz
1110
1211FROM alpine:latest
1312RUN apk --update add openjdk8-jre
1413COPY --from=builder /usr/bin/nrjmx /usr/bin/nrjmx
1514COPY --from=builder /usr/lib/nrjmx/nrjmx.jar /usr/lib/nrjmx/nrjmx.jar
1615COPY --from=builder /go/src/github.com/newrelic/nri-kafka/bin /
17- CMD ["sleep" , "1h" ]
16+ CMD ["sleep" , "1h" ]
You can’t perform that action at this time.
0 commit comments