aosapps / drone-sonar-plugin

The plugin of Drone CI to integrate with SonarQube (previously called Sonar), which is an open source code quality management platform.
MIT License
30 stars 51 forks source link

🐳 The drone-sonar binary is compiled using a multi-stage docker build #10

Closed fungiboletus closed 4 years ago

saitho commented 4 years ago

The builder will be scrapped anyways after the build is done. So I don't additional (non Go) files matter here.

Antoine Pultier notifications@github.com schrieb am Fr., 22. Nov. 2019, 12:00:

@fungiboletus commented on this pull request.

In Dockerfile https://github.com/aosapps/drone-sonar-plugin/pull/10#discussion_r349541346 :

@@ -1,11 +1,18 @@ +FROM golang:1.13.4-alpine as build +RUN mkdir -p /go/src/github.com/aosapps/drone-sonar-plugin +WORKDIR /go/src/github.com/aosapps/drone-sonar-plugin +COPY *.go ./

If you prefer. If it's too many useless files at some point, you can use a .dockerignore file.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aosapps/drone-sonar-plugin/pull/10?email_source=notifications&email_token=ABXUS7QVMLFO3NIBYA5VVG3QU63TTA5CNFSM4JQBKDP2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCMUUUAQ#discussion_r349541346, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXUS7UMW2RLEEWHM6YOJ2TQU63TTANCNFSM4JQBKDPQ .