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 89b8629 commit 6968498Copy full SHA for 6968498
Dockerfile
@@ -179,7 +179,8 @@ COPY --from=builder \
179
COPY --from=builder /usr/local/lib /usr/local/lib
180
RUN ldconfig
181
182
-# Ensure bash-completion is working in operations
183
-RUN echo 'PATH=${PATH}:/\nsource /etc/bash_completion\nsource <(dpservice-cli completion bash)' >> /root/.bashrc
+# Ensure quality-of-life for operations
+COPY hack/tcpdump_helpers.inc hack/dpservice.bashrc /root/
184
+RUN echo 'source ~/dpservice.bashrc' >> /root/.bashrc
185
186
ENTRYPOINT ["dpservice-bin"]
hack/dpservice.bashrc
@@ -0,0 +1,6 @@
1
+PATH="${PATH}:/"
2
+
3
+source /etc/bash_completion
4
+source <(dpservice-cli completion bash)
5
6
+source ~/tcpdump_helpers.inc
0 commit comments