Skip to content

Commit

Permalink
Clean up env2yaml folder
Browse files Browse the repository at this point in the history
  • Loading branch information
robbavey committed Apr 3, 2024
1 parent 0f55d36 commit d8e640c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/templates/Dockerfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ COPY config/pipelines.yml config/pipelines.yml
COPY config/log4j2.properties config/
COPY config/log4j2.file.properties config/
COPY pipeline/default.conf pipeline/logstash.conf
COPY env2yaml/* env2yaml/
COPY env2yaml/env2yaml-amd64 env2yaml/
COPY env2yaml/env2yaml-arm64 env2yaml/

RUN chown --recursive logstash:root config/ pipeline/
# Ensure Logstash gets the correct locale by default.
Expand All @@ -165,7 +166,8 @@ RUN env2yamlarch="$(arch)"; \
;; \
*) echo >&2 "error: unsupported architecture '$env2yamlarch'"; exit 1 ;; \
esac; \
cp env2yaml/env2yaml-${env2yamlarch} /usr/local/bin/env2yaml
cp env2yaml/env2yaml-${env2yamlarch} /usr/local/bin/env2yaml; \
rm -rf env2yaml
# Place the startup wrapper script.
COPY bin/docker-entrypoint /usr/local/bin/

Expand Down

0 comments on commit d8e640c

Please sign in to comment.