Skip to content

Commit 4c1a6bd

Browse files
committed
fixup! fixup! fixup! fixup! Adding v0.15.0 firecracker docker image
Signed-off-by: xibz <[email protected]>
1 parent 7709598 commit 4c1a6bd

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Makefile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,13 @@ all-tests:
2727
generate build clean:
2828
go $@ $(EXTRAGOARGS)
2929

30-
sandbox-test-fc-build:
30+
sandbox-test-fc-build: sandbox-test-fc-build-stamp
31+
32+
sandbox-test-fc-build-stamp:
3133
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
3335

34-
sandbox-test-fc-run:
36+
sandbox-test-fc-run: sandbox-test-fc-build
3537
test "$(shell id --user)" -eq 0
3638
docker run \
3739
--init \
@@ -41,6 +43,6 @@ sandbox-test-fc-run:
4143
--ulimit core=0 \
4244
localhost/firecracker-go-sdk-sandbox
4345

44-
sandbox-test-fc: sandbox-test-fc-build sandbox-test-fc-run
46+
sandbox-test-fc: sandbox-test-fc-run
4547

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

fctesting/sandbox/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ COPY --from=firecracker-build "$TMP_BUILD_DIR" "$TMP_BUILD_DIR"
3434
WORKDIR "$FIRECRACKER_GO_SDK_SRC_DIR"
3535
COPY ["./testdata/", "$TMP_BUILD_DIR"]
3636
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 \
3838
&& go mod download
3939
COPY [".", "/firecracker-go-sdk/"]
4040
CMD ["make", "test"]

0 commit comments

Comments
 (0)