You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
629 B

  1. FROM python:2.7.14-stretch
  2. RUN mkdir /kubespray
  3. WORKDIR /kubespray
  4. RUN apt update -y && \
  5. apt install -y \
  6. libssl-dev python-dev sshpass apt-transport-https \
  7. ca-certificates curl gnupg2 software-properties-common
  8. RUN curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add - && \
  9. add-apt-repository \
  10. "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
  11. $(lsb_release -cs) \
  12. stable" \
  13. && apt update -y && apt-get install docker-ce -y
  14. COPY . .
  15. RUN pip install -r tests/requirements.txt && pip install -r requirements.txt