Skip to content

Commit

Permalink
Remove unnecessary dependency for loginhelper
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jul 27, 2024
1 parent 825ae68 commit c8e2f5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/loginhelper/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1-alpine3.20 AS builder

RUN apk add --no-cache build-base olm-dev
RUN apk add --no-cache build-base

COPY . /build
WORKDIR /build
Expand All @@ -9,6 +9,6 @@ RUN go build -o /usr/bin/loginhelper ./cmd/loginhelper

FROM alpine:3.20

RUN apk add --no-cache ca-certificates olm
RUN apk add --no-cache ca-certificates
COPY --from=builder /usr/bin/loginhelper /usr/bin/loginhelper
CMD ["/usr/bin/loginhelper"]

0 comments on commit c8e2f5e

Please sign in to comment.