Skip to content

Commit a1a82ae

Browse files
committed
Set SHARKD_SOCKET to be usable by node user
* set SHARKD_SOCKET=/home/node/sharkd.sock in Dockerfile * closes QXIP#23
1 parent 97a34cf commit a1a82ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ COPY --from=intermediate /out /out
3232
RUN cd / && tar zxvf /out/sharkd.tar.gz && rm -rf /out/sharkd.tar.gz
3333

3434
ENV CAPTURES_PATH=/captures/
35+
ENV SHARKD_SOCKET=/home/node/sharkd.sock
3536

3637
# RUN git clone --single-branch --branch master https://github.com/qxip/node-webshark /usr/src/node-webshark
3738
COPY --chown=node . /usr/src/node-webshark

0 commit comments

Comments
 (0)