diff --git a/Dockerfile b/Dockerfile index 2581c31..d2e6fd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ COPY staging staging/ # and so that source changes don't invalidate our downloaded layer RUN go mod download -RUN apk add gcc +RUN apk add gcc libc-dev # Build RUN go build -ldflags="${LDFLAGS}" -a -o ${PKGNAME} /go/src/github.com/gocrane/fadvisor/cmd/${PKGNAME}/main.go diff --git a/test-for-ci-image-build.yml b/test-for-ci-image-build.yml new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/test-for-ci-image-build.yml @@ -0,0 +1 @@ +