Skip to content

Commit 9227786

Browse files
committed
feat: use biosnoop to count read bytes (#212)
1 parent d673bdb commit 9227786

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Dockerfile.dblab

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ FROM docker:19.03.14
33
# Install dependencies.
44
RUN apk update && apk add --no-cache bash jq
55

6+
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.13/main' >> /etc/apk/repositories \
7+
&& echo 'http://dl-cdn.alpinelinux.org/alpine/v3.13/community' >> /etc/apk/repositories \
8+
&& apk add bcc-tools=0.18.0-r0 bcc-doc=0.18.0-r0 && ln -s $(which python3) /usr/bin/python
9+
610
WORKDIR /home/dblab
711
COPY ./bin/dblab ./bin/dblab
8-
CMD ./bin/dblab
12+
# TODO: return CMD ./bin/dblab
13+
CMD sleep infinity

Dockerfile.dblab-server

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ FROM docker:19.03.14
3333

3434
# Install dependencies.
3535
RUN apk update && apk add --no-cache zfs lvm2 bash util-linux
36+
RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.13/main' >> /etc/apk/repositories \
37+
&& echo 'http://dl-cdn.alpinelinux.org/alpine/v3.13/community' >> /etc/apk/repositories \
38+
&& apk add bcc-tools=0.18.0-r0 bcc-doc=0.18.0-r0 && ln -s $(which python3) /usr/bin/python
3639

3740
WORKDIR /home/dblab
3841

0 commit comments

Comments
 (0)