Skip to content

Commit

Permalink
docker: update entrypoint
Browse files Browse the repository at this point in the history
Change the entrypoint in dockerfile. The tool will be available from any location.
  • Loading branch information
gibiw committed Jun 6, 2024
1 parent b85bf8e commit 7137d87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ RUN go mod download

RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -a -ldflags="-X github.com/qase-tms/qasectl/internal.Version=$VERSION" -o /qli ./main.go

FROM --platform=${TARGETPLATFORM} alpine:3.12 as final
FROM --platform=${TARGETPLATFORM} alpine:3.20 as final

COPY --from=builder /qli /qli
COPY --from=builder /qli /usr/local/bin/qli

ENTRYPOINT ["/qli"]
ENTRYPOINT ["qli"]

0 comments on commit 7137d87

Please sign in to comment.