Skip to content

Commit

Permalink
fix(kubectl-trace): bpftracebase using specified version
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Fontana <lo@linux.com>
  • Loading branch information
fntlnz committed Jan 11, 2019
1 parent 829327f commit 04e3299
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile.bpftracebase
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
ARG bpftracesha

FROM alpine:3.8 as builder
ARG bpftracesha
ENV STATIC_LINKING=ON
ENV RUN_TESTS=0
RUN apk add --update \
Expand All @@ -24,11 +23,12 @@ RUN ln -s /usr/include/llvm5/llvm-c /usr/include/llvm-c

WORKDIR /

RUN git clone https://github.com/iovisor/bpftrace.git /bpftrace
ADD https://github.com/iovisor/bpftrace/archive/${bpftracesha}.tar.gz /bpftrace.tar.gz
RUN tar -xvf /bpftrace.tar.gz

WORKDIR /bpftrace
RUN mv bpftrace-${bpftracesha} /bpftrace

#RUN git checkout ${bpftracesha}
WORKDIR /bpftrace

WORKDIR /bpftrace/docker

Expand Down

0 comments on commit 04e3299

Please sign in to comment.