forked from kubernetes-sigs/kubespray
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
18 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
FROM python:2.7.14-stretch | ||
FROM ubuntu:16.04 | ||
|
||
RUN mkdir /kubespray | ||
WORKDIR /kubespray | ||
RUN apt update -y && \ | ||
apt install -y \ | ||
libssl-dev python-dev sshpass apt-transport-https \ | ||
ca-certificates curl gnupg2 software-properties-common | ||
RUN curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add - && \ | ||
add-apt-repository \ | ||
"deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \ | ||
$(lsb_release -cs) \ | ||
stable" \ | ||
&& apt update -y && apt-get install docker-ce -y | ||
|
||
ca-certificates curl gnupg2 software-properties-common python-pip | ||
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \ | ||
add-apt-repository \ | ||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | ||
$(lsb_release -cs) \ | ||
stable" \ | ||
&& apt update -y && apt-get install docker-ce -y | ||
COPY . . | ||
RUN pip install -r tests/requirements.txt && pip install -r requirements.txt | ||
RUN /usr/bin/python -m pip install pip -U && /usr/bin/python -m pip install -r tests/requirements.txt && python -m pip install -r requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ yamllint | |
apache-libcloud==2.2.1 | ||
boto==2.9.0 | ||
tox | ||
dopy |