Skip to content

Commit cb37be9

Browse files
committed
fix env variable
1 parent 377fe0c commit cb37be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ FROM nicolaka/netshoot
22

33
RUN echo 'alias ll="ls -Ahlp"' >> ~/.bashrc
44
RUN echo 'alias kcurl="curl -k -H \"Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)\""' >> ~/.bashrc
5-
RUN echo 'export KUBERNETES_API="https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_SERVICE_PORT"'
5+
RUN echo 'export KUBERNETES_API="https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_SERVICE_PORT"' >> ~/.bashrc
66

77
CMD ["sleep", "infinity"]

0 commit comments

Comments
 (0)