Skip to content

Commit

Permalink
Fix test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jun 7, 2024
1 parent 7da9336 commit 8e31408
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker-py3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@ RUN apt-get update && apt-get install --no-install-recommends -y python3-setupto
pip3 install -U pip && \
pip3 install msrest msrestazure azure-common azure-mgmt-storage azure-mgmt-compute azure-mgmt-network azure-mgmt-resource azure-mgmt-dns azure-identity==1.8.0 && \
pip3 install pyOpenSSL cheroot xmltodict pymongo ansible==8.7.0&& \
pip3 install apache-libcloud==3.8.0 git+https://github.com/grycap/im@wheel && \
pip3 install apache-libcloud==3.8.0 IM==${VERSION} && \
apt-get purge -y python3-pip git && \
apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -rf ~/.cache/

# Patch libcloud to add network extra
# untill this PR is merged and released
# https://github.com/apache/libcloud/pull/2016
COPY ost.patch /tmp/ost.patch
RUN patch /usr/local/lib/python3.12/dist-packages/libcloud/compute/drivers/openstack.py < /tmp/ost.patch && rm /tmp/ost.patch
RUN patch /usr/local/lib/python3.10/dist-packages/libcloud/compute/drivers/openstack.py < /tmp/ost.patch && rm /tmp/ost.patch

# Copy im configuration files
RUN mkdir /etc/im
RUN mkdir /var/log/im
RUN wget https://raw.githubusercontent.com/grycap/im/wheel/etc/im.cfg -O /etc/im/im.cfg
RUN wget https://raw.githubusercontent.com/grycap/im/wheel/etc/logging.conf -O /etc/im/logging.conf
RUN wget https://raw.githubusercontent.com/grycap/im/v${VERSION}/etc/im.cfg -O /etc/im/im.cfg
RUN wget https://raw.githubusercontent.com/grycap/im/v${VERSION}/etc/logging.conf -O /etc/im/logging.conf

# Copy a ansible.cfg with correct minimum values
COPY ansible.cfg /etc/ansible/ansible.cfg
Expand Down

0 comments on commit 8e31408

Please sign in to comment.