-
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
7 changed files
with
177 additions
and
159 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,24 @@ | ||
FROM python:3.11.4-buster | ||
RUN apt-get update -y | ||
RUN apt-get install -y build-essential | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get install -y build-essential \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /code | ||
ADD requirements.txt /code | ||
|
||
# Copy requirements and install them first to leverage Docker cache | ||
COPY requirements.txt /code | ||
RUN pip install -r requirements.txt | ||
ADD requirements.yml /code | ||
ADD ansible.cfg /etc/ansible/ | ||
|
||
COPY requirements.yml /code | ||
COPY ansible.cfg /etc/ansible/ | ||
RUN ansible-galaxy install -r requirements.yml | ||
ADD . /code | ||
|
||
# Copy the entire project | ||
COPY . /code | ||
|
||
# Set PYTHONPATH to include the project root | ||
ENV PYTHONPATH /code | ||
|
||
WORKDIR /code/simple_vm_client |
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 +0,0 @@ | ||
__all__ = ['ttypes', 'constants', 'VirtualMachineService'] | ||
File renamed without changes.
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
Binary file removed
BIN
-191 Bytes
simple_vm_client/openstack_connector/__pycache__/__init__.cpython-38.pyc
Binary file not shown.
Oops, something went wrong.