Skip to content

Commit

Permalink
Merge pull request #25 from RedHatQE/dockerfile_req
Browse files Browse the repository at this point in the history
Dockerfile.dev installs from setup.cfg instead of requirements
  • Loading branch information
jyejare authored Jun 26, 2022
2 parents 57d3673 + 1c3d7af commit 69bd11b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ WORKDIR "${HOME}"
RUN git clone --depth=1 https://github.com/RedHatQE/cloudwash.git && \
cd ${CLOUDWASH_DIR} && \
pip install --upgrade pip && \
pip install -r requirements.txt
pip install . && \
cp settings.yaml.template settings.yaml
# Workaround for the issue DistributionNotFound: The 'azure-mgmt-media~=1.0.0rc2' distribution was not found and is required by azure-mgmt
# RUN pip install azure-mgmt-media==1.0.0rc2

# Download conf file
RUN curl -o ${CLOUDWASH_DIR}/settings.yaml https://raw.githubusercontent.com/RedHatQE/cloudwash/master/settings.yaml.template

# adding .profile to environment variables, so it will be kept between shell sessions
RUN echo "source ${VIRTUAL_ENV}/.profile" >> ${VIRTUAL_ENV}/bin/activate && touch ${VIRTUAL_ENV}/.profile

Expand Down

0 comments on commit 69bd11b

Please sign in to comment.