Skip to content

Commit

Permalink
Remove upper constraints from Dockerfile
Browse files Browse the repository at this point in the history
These contraints are not needed because these are just clients.
  • Loading branch information
Mark-Powers committed May 17, 2024
1 parent 204a28b commit 387fbc6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -48,10 +48,8 @@ FROM base as release
COPY scripts/chi-requirements.txt /tmp/chi-requirements.txt

ARG openstack_release=xena
RUN curl -L -Sso /upper-constraints.txt "https://raw.githubusercontent.com/openstack/requirements/stable/${openstack_release}/upper-constraints.txt"
# Unconstrained *client to avoid issues with git install
RUN python3 -m pip install --no-cache -r /tmp/chi-requirements.txt -c <(grep -v -E 'pyzmq|packaging|blazarclient|heatclient|zunclient|PyYAML|paramiko' /upper-constraints.txt)
RUN rm -f /tmp/chi-requirements.txt /upper-constraints.txt
RUN python3 -m pip install --no-cache -r /tmp/chi-requirements.txt
RUN rm -f /tmp/chi-requirements.txt

# FIXME(jason): this should not be necessary, it should automatically be enabled on install.
RUN jupyter serverextension enable jupyterlab_chameleon

0 comments on commit 387fbc6

Please sign in to comment.