Skip to content

Commit fc36a95

Browse files
committed
build: remove lingering references to log-rotator.sh
We removed the rotator script when we used the named pipe approach to the otel collector logging. There were some references left over that caused the docker build to fail.
1 parent 0bb7407 commit fc36a95

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

docker/hyperdx/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ ENTRYPOINT ["sh", "/etc/local/entry.sh"]
8282

8383
# all-in-one base ############################################################################################
8484
FROM hairyhenderson/gomplate:v4.3.3-alpine AS gomplate
85-
FROM clickhouse/clickhouse-server:${CLICKHOUSE_VERSION}-alpine AS all-in-one-base
85+
FROM clickhouse/clickhouse-server:${CLICKHOUSE_VERSION}-alpine AS all-in-one-base
8686

8787
ARG CODE_VERSION
8888
ARG USER_UID=10001
@@ -110,9 +110,8 @@ COPY --from=hyperdx ./clickhouseConfig.xml /etc/clickhouse-server/config.xml
110110
COPY --from=otel-collector ./config.yaml /etc/otelcol-contrib/config.yaml
111111
COPY --from=otel-collector ./supervisor_docker.yaml.tmpl /etc/otel/supervisor.yaml.tmpl
112112

113-
# Copy otel-collector entrypoint and log rotation scripts
113+
# Copy otel-collector entrypoint script
114114
COPY --from=otel-collector --chmod=755 ./entrypoint.sh /otel-entrypoint.sh
115-
COPY --from=otel-collector --chmod=755 ./log-rotator.sh /log-rotator.sh
116115

117116
# Copy gomplate binary from the gomplate image
118117
COPY --from=gomplate /bin/gomplate /usr/local/bin/gomplate

docker/otel-collector/log-tailer.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/sh
22
# Generic log tailer script that follows a log file and echoes new lines to stdout
3-
# Handles file rotation and truncation (e.g., when used with log-rotator.sh)
43
# Usage: log-tailer.sh <log_file_path> [sleep_interval]
54

65
# Parse arguments

0 commit comments

Comments
 (0)