From 1a420aa0b14c66a89f259b5814b1f5d159c0240e Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Thu, 24 Oct 2024 22:28:06 +0900 Subject: [PATCH] Dockerfile: test go build for all the packages Signed-off-by: Akihiro Suda --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 92076b5..69a4df5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,7 @@ COPY . /go/src/github.com/containerd/fuse-overlayfs-snapshotter WORKDIR /go/src/github.com/containerd/fuse-overlayfs-snapshotter ENV CGO_ENABLED=0 ENV GO111MODULE=on +RUN go build ./... RUN mkdir /out && go test -c -o /out/containerd-fuse-overlayfs.test # from https://github.com/containers/fuse-overlayfs/blob/53c17dab78b43de1cd121bf9260b20b76371bbaf/Dockerfile.static.ubuntu