File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,13 @@ all-tests:
27
27
generate build clean :
28
28
go $@ $(EXTRAGOARGS )
29
29
30
- sandbox-test-fc-build :
30
+ sandbox-test-fc-build : sandbox-test-fc-build-stamp
31
+
32
+ sandbox-test-fc-build-stamp :
31
33
docker build -f fctesting/sandbox/Dockerfile -t " localhost/firecracker-go-sdk-sandbox" .
32
- @touch sandbox-test-fc-build
34
+ @touch sandbox-test-fc-build-stamp
33
35
34
- sandbox-test-fc-run :
36
+ sandbox-test-fc-run : sandbox-test-fc-build
35
37
test " $( shell id --user) " -eq 0
36
38
docker run \
37
39
--init \
@@ -41,6 +43,6 @@ sandbox-test-fc-run:
41
43
--ulimit core=0 \
42
44
localhost/firecracker-go-sdk-sandbox
43
45
44
- sandbox-test-fc : sandbox-test-fc-build sandbox-test-fc- run
46
+ sandbox-test-fc : sandbox-test-fc-run
45
47
46
- .PHONY : all generate clean build test unit-tests all-tests
48
+ .PHONY : all generate clean build test unit-tests all-tests sandbox-test-fc-run sandbox-test-fc sandbox-test-fc-build
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ COPY --from=firecracker-build "$TMP_BUILD_DIR" "$TMP_BUILD_DIR"
34
34
WORKDIR "$FIRECRACKER_GO_SDK_SRC_DIR"
35
35
COPY ["./testdata/" , "$TMP_BUILD_DIR" ]
36
36
COPY ["go.mod" , "go.sum" , "/firecracker-go-sdk/" ]
37
- RUN curl -fsSL -o "$TMP_BUILD_DIR" /vmlinux https://s3.amazonaws.com/spec.ccfc.min/img/hello/kernel/hello-vmlinux.bin \
37
+ RUN curl --fail --silent --show-error --location -o "$TMP_BUILD_DIR" /vmlinux https://s3.amazonaws.com/spec.ccfc.min/img/hello/kernel/hello-vmlinux.bin \
38
38
&& go mod download
39
39
COPY ["." , "/firecracker-go-sdk/" ]
40
40
CMD ["make" , "test" ]
You can’t perform that action at this time.
0 commit comments