File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 33FROM docker:20.10.12
44
55# Install dependencies.
6- RUN apk update \
7- && apk add zfs=2.1.2-r0 --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main \
8- && apk add --no-cache lvm2 bash util-linux
6+ RUN apk update && apk add --no-cache zfs lvm2 bash util-linux
97RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.13/main' >> /etc/apk/repositories \
108 && echo 'http://dl-cdn.alpinelinux.org/alpine/v3.13/community' >> /etc/apk/repositories \
119 && apk add bcc-tools=0.18.0-r0 bcc-doc=0.18.0-r0 && ln -s $(which python3) /usr/bin/python \
Original file line number Diff line number Diff line change 1+ # See Guides to learn how to start a container: https://postgres.ai/docs/how-to-guides/administration/engine-manage
2+
3+ FROM docker:20.10.12
4+
5+ # Install dependencies
6+ RUN apk update \
7+ && apk add zfs=2.1.2-r0 --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main \
8+ && apk add --no-cache lvm2 bash util-linux
9+ RUN echo 'http://dl-cdn.alpinelinux.org/alpine/v3.13/main' >> /etc/apk/repositories \
10+ && echo 'http://dl-cdn.alpinelinux.org/alpine/v3.13/community' >> /etc/apk/repositories \
11+ && apk add bcc-tools=0.18.0-r0 bcc-doc=0.18.0-r0 && ln -s $(which python3) /usr/bin/python \
12+ # TODO: remove after release the PR: https://github.com/iovisor/bcc/pull/3286 (issue: https://github.com/iovisor/bcc/issues/3099)
13+ && wget https://raw.githubusercontent.com/iovisor/bcc/master/tools/biosnoop.py -O /usr/share/bcc/tools/biosnoop
14+
15+ ENV PATH="${PATH}:/usr/share/bcc/tools"
16+
17+ WORKDIR /home/dblab
18+
19+ COPY ./bin/dblab-server ./bin/dblab-server
20+ COPY ./configs/standard ./standard
21+ COPY ./api ./api
22+ COPY ./scripts ./scripts
23+
24+ CMD ./bin/dblab-server
You can’t perform that action at this time.
0 commit comments