Skip to content

Commit

Permalink
fix: fix UBI docker image (#1510)
Browse files Browse the repository at this point in the history
* fix: fix UBI docker image

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

* chore: changelog

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>

---------

Signed-off-by: Dominik Rosiek <drosiek@sumologic.com>
  • Loading branch information
sumo-drosiek authored Mar 19, 2024
1 parent 58f8e9b commit ffa1a4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .changelog/1510.fixed.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fix: set execution bit on executable for UBI based images
2 changes: 2 additions & 0 deletions Dockerfile_ubi
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ USER ${USER_UID}
ENV HOME /etc/otel/

COPY otelcol-sumo /
# This shouldn't be necessary but sometimes we end up with execution bit not set
RUN chmod 755 /otelcol-sumo

ENTRYPOINT ["/otelcol-sumo"]
CMD ["--config", "/etc/otel/config.yaml"]

0 comments on commit ffa1a4a

Please sign in to comment.