mirror of
https://github.com/kennethreitz/bruce-operator.git
synced 2026-06-05 23:20:18 +00:00
13 lines
446 B
Docker
13 lines
446 B
Docker
FROM kennethreitz/pipenv
|
|
|
|
# Instlall kube-ctl.
|
|
RUN apt-get update && apt-get install -y apt-transport-https
|
|
RUN curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add -
|
|
RUN touch /etc/apt/sources.list.d/kubernetes.list
|
|
RUN echo "deb http://apt.kubernetes.io/ kubernetes-xenial main" | tee -a /etc/apt/sources.list.d/kubernetes.list
|
|
RUN apt-get update
|
|
RUN apt-get install -y kubectl
|
|
|
|
COPY . /app
|
|
CMD python3 -m bruce_operator
|