Skip to content

Commit

Permalink
Fixed PR failure by removing docker stagging and make-build from Dock…
Browse files Browse the repository at this point in the history
…erfile
  • Loading branch information
rahman-lb committed May 19, 2024
1 parent 44ca43f commit 056d788
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions deploy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
FROM golang:1.22-alpine3.19 AS builder

RUN apk update && \
apk add --no-cache \
curl \
docker-cli \
bash \
make \
git \
g++

WORKDIR /work
COPY . .

RUN make build

# update alpine to get cryptsetup 2.4.x
FROM alpine:3.19

Expand Down Expand Up @@ -50,7 +34,7 @@ RUN apk add --no-cache \
kmod \
$EXTRA_PACKAGES

COPY deploy/licenses /licenses
COPY --from=builder /work/deploy/lb-csi-plugin /
COPY licenses /licenses
COPY lb-csi-plugin /

ENTRYPOINT ["/lb-csi-plugin"]

0 comments on commit 056d788

Please sign in to comment.