Skip to content

Commit 3dae0e0

Browse files
authored
fix: copy otel-collector schema directory to AIO image (#1700)
1 parent 6cfa40a commit 3dae0e0

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

‎.changeset/empty-actors-know.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperdx/otel-collector": patch
3+
---
4+
5+
fix: copy otel-collector schema directory to AIO image

‎docker/hyperdx/Dockerfile‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ ARG OTEL_COLLECTOR_OPAMPSUPERVISOR_VERSION=0.128.0
1616
# == Otel Collector Image ==
1717
FROM otel/opentelemetry-collector-contrib:${OTEL_COLLECTOR_VERSION} AS otel_collector_base
1818
FROM otel/opentelemetry-collector-opampsupervisor:${OTEL_COLLECTOR_OPAMPSUPERVISOR_VERSION} AS otel_collector_opampsupervisor_base
19+
FROM kukymbr/goose-docker@sha256:0cd025636df126e7f66472861ca4db3683bc649be46cd1f6ef1a316209058e23 AS goose
1920

2021
FROM node:${NODE_VERSION}-alpine AS node_base
2122

@@ -119,13 +120,17 @@ COPY --from=hyperdx ./clickhouseConfig.xml /etc/clickhouse-server/config.xml
119120
# Set up Otel Collector
120121
COPY --from=otel-collector ./config.yaml /etc/otelcol-contrib/config.yaml
121122
COPY --from=otel-collector ./supervisor_docker.yaml.tmpl /etc/otel/supervisor.yaml.tmpl
123+
COPY --from=otel-collector ./schema /etc/otel/schema
122124

123125
# Copy otel-collector entrypoint script
124126
COPY --from=otel-collector --chmod=755 ./entrypoint.sh /otel-entrypoint.sh
125127

126128
# Copy gomplate binary from the gomplate image
127129
COPY --from=gomplate /bin/gomplate /usr/local/bin/gomplate
128130

131+
# Copy goose binary from the goose image
132+
COPY --from=goose /bin/goose /usr/local/bin/goose
133+
129134
# Install MongoDB and other dependencies (consolidated into a single RUN command)
130135
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.9/main' >> /etc/apk/repositories && \
131136
echo 'http://dl-cdn.alpinelinux.org/alpine/v3.9/community' >> /etc/apk/repositories && \

0 commit comments

Comments
 (0)