Skip to content

Commit

Permalink
add kubeconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mabulgu committed Nov 22, 2023
1 parent f8bbda4 commit 56a3097
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ARG KUBECONFIG=""
FROM python:3.11.6-alpine
ARG KUBECONFIG
USER root
RUN adduser -D kfkuser
RUN pip install strimzi-kafka-cli==0.1.0a74
USER kfkuser
RUN mkdir ~/.kube
RUN echo "${KUBECONFIG}" > /home/kfkuser/.kube/config
RUN echo "$KUBECONFIG" > ~/.kube/config
RUN kfk --version

0 comments on commit 56a3097

Please sign in to comment.