File tree 4 files changed +24
-2
lines changed
4 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,28 @@ ${trace_runner}:
39
39
clean :
40
40
rm -Rf _output
41
41
42
+ <<<<<<< HEAD
43
+ ====== =
44
+ .PHONY : image/build-alpine
45
+ image/build-alpine :
46
+ $(DOCKER ) build \
47
+ --build-arg bpftracesha=$(BPFTRACESHA ) \
48
+ --build-arg imagenamebase=" $( IMAGE_NAME_BASE_ALPINE) " \
49
+ $(IMAGE_BUILD_FLAGS ) \
50
+ -t " $( IMAGE_TRACERUNNER_BRANCH_ALPINE) " \
51
+ -f build/Dockerfile.tracerunner-alpine .
52
+ $(DOCKER ) tag " $( IMAGE_TRACERUNNER_BRANCH_ALPINE) " $(IMAGE_TRACERUNNER_COMMIT_ALPINE )
53
+
54
+ .PHONY : image/build-ubuntu
55
+ image/build-ubuntu :
56
+ $(DOCKER ) build \
57
+ --build-arg bpftracesha=$(BPFTRACESHA ) \
58
+ --build-arg imagenamebase=" $( IMAGE_NAME_BASE_UBUNTU) " \
59
+ $(IMAGE_BUILD_FLAGS ) \
60
+ -t " $( IMAGE_TRACERUNNER_BRANCH_UBUNTU) " \
61
+ -f build/Dockerfile.tracerunner-ubuntu .
62
+ $(DOCKER ) tag $(IMAGE_TRACERUNNER_BRANCH_UBUNTU ) $(IMAGE_TRACERUNNER_COMMIT_UBUNTU )
63
+
42
64
.PHONY : image/build-init
43
65
image/build-init :
44
66
$(DOCKER ) build \
@@ -56,7 +78,6 @@ image/build:
56
78
$(DOCKER ) tag $(IMAGE_TRACERUNNER_BRANCH ) $(IMAGE_TRACERUNNER_COMMIT )
57
79
$(DOCKER ) tag " $( IMAGE_TRACERUNNER_BRANCH) " $(IMAGE_TRACERUNNER_BRANCH )
58
80
59
-
60
81
.PHONY : image/push
61
82
image/push :
62
83
$(DOCKER ) push $(IMAGE_TRACERUNNER_BRANCH )
Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ RUN apk add --update \
10
10
11
11
WORKDIR /
12
12
13
- COPY /fetch-linux-headers.sh /
13
+ COPY /init/ fetch-linux-headers.sh /
14
14
15
15
ENTRYPOINT [ "/fetch-linux-headers.sh" ]
File renamed without changes.
Original file line number Diff line number Diff line change @@ -8,5 +8,6 @@ if [[ ! -z "$TRAVIS_PULL_REQUEST_BRANCH" ]]; then
8
8
makeopts=" -e GIT_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH "
9
9
fi
10
10
11
+ $make $makeopts bpftraceimage/build # HACK since the ubuntu image isn't pushed yet
11
12
$make $makeopts image/build
12
13
$make $makeopts image/build-init
You can’t perform that action at this time.
0 commit comments