We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cadde42 commit 0680dcdCopy full SHA for 0680dcd
compose/Dockerfile.tracer.source
@@ -171,5 +171,6 @@ RUN groupadd --gid 10000 cardano && \
171
#STOPSIGNAL SIGINT
172
173
COPY tracer-config.yaml .
174
+COPY run-tracer.sh .
175
-ENTRYPOINT ["/usr/local/bin/cardano-tracer"]
176
+ENTRYPOINT ["/run-tracer.sh"]
compose/run-tracer.sh
@@ -0,0 +1,8 @@
1
+#!/usr/bin/env bash
2
+# this script is meant to be run by root and
3
+# in order to adjust permissions for mounted folder,
4
+# then switch to user cardano for running tracer
5
+
6
+chown -R cardano /opt/cardano-tracer
7
8
+runuser -u cardano -- /usr/local/bin/cardano-tracer $@
0 commit comments