Skip to content

Commit

Permalink
Merge pull request #998 from haroonc/master
Browse files Browse the repository at this point in the history
fix: regression in `gke-deploy` location
  • Loading branch information
haroonc committed Apr 19, 2024
2 parents d2d757e + 9c5696b commit 921a65a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions gke-deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ RUN CGO_ENABLED=0 go test ./...
RUN CGO_ENABLED=0 go build -o /gke-deploy

FROM gcr.io/google.com/cloudsdktool/cloud-sdk:alpine

COPY --from=build-env /gke-deploy /bin
COPY VENDOR-LICENSE /
COPY LICENSE /

RUN gcloud -q components install \
gke-gcloud-auth-plugin \
kubectl \
Expand All @@ -19,9 +24,7 @@ RUN gcloud -q components install \
&& apk update && apk upgrade --available --no-cache \
&& apk -q --no-cache add \
gettext \
yq
yq \
&& ln /bin/gke-deploy /gke-deploy

COPY --from=build-env /gke-deploy /bin
COPY VENDOR-LICENSE /
COPY LICENSE /
ENTRYPOINT [ "/bin/gke-deploy" ]

0 comments on commit 921a65a

Please sign in to comment.