Skip to content

Commit

Permalink
Merge pull request #600 from grycap/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
micafer authored May 4, 2018
2 parents e1bb255 + fd34ef1 commit f297ebd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion IM/REST.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,6 @@ def RESTImportInfrastructure():

new_id = InfrastructureManager.ImportInfrastructure(data, auth)

bottle.response.headers['InfID'] = new_id
bottle.response.content_type = "text/uri-list"
res = get_full_url('/infrastructures/%s' % new_id)

Expand Down
6 changes: 2 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ RUN apt-get update && apt-get install --no-install-recommends -y gcc libmysqld-d
apt-get purge -y gcc libmysqld-dev libssl-dev libffi-dev libsqlite3-dev python-dev python-pip && \
apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -rf ~/.cache/

# Remove pip requests and force python-requests to be installed to avoid SSL ca errors
RUN pip uninstall -y requests
RUN apt-get update && apt-get install --no-install-recommends -y python-requests && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -rf ~/.cache/
# Force requests to be version 2.11.1 to avoid SSL ca errors with proxy files
RUN pip install requests==2.11.1

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

0 comments on commit f297ebd

Please sign in to comment.