File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM golang:1.24-alpine3.22 AS go-build
2+
3+ WORKDIR /go/src/
4+ # hadolint ignore=DL3018
5+ RUN apk --no-cache add git upx \
6+ && go install 'gitlab.com/pipeline-components/org/gitlab-reportinator/cmd/gitlab-reportinator@v0.6.0' \
7+ && upx -9 /go/bin/gitlab-reportinator
8+
19FROM alpine:3.22.1 AS build
210
311# hadolint ignore=DL3018
@@ -20,18 +28,19 @@ RUN \
2028RUN cp "$(readlink -f /root/.local/bin/shellcheck)" /root/.local/bin/shellcheck && \
2129 upx -9 /root/.local/bin/shellcheck
2230
23- FROM pipelinecomponents/base-entrypoint:0.5.0 as entrypoint
31+ FROM pipelinecomponents/base-entrypoint:0.5.0 AS entrypoint
2432
2533FROM alpine:3.22.1
2634COPY --from=entrypoint /entrypoint.sh /entrypoint.sh
2735ENTRYPOINT ["/entrypoint.sh" ]
28- ENV DEFAULTCMD shellcheck
36+ ENV DEFAULTCMD= shellcheck
2937
3038COPY app /app/
3139
3240# hadolint ignore=DL3018
3341RUN apk --no-cache add libffi libgmpxx parallel bash
3442COPY --from=build /root/.local/bin/shellcheck /usr/local/bin/shellcheck
43+ COPY --from=go-build /go/bin/gitlab-reportinator /usr/local/bin/convert_report
3544
3645WORKDIR /code/
3746# Build arguments
You can’t perform that action at this time.
0 commit comments