diff --git a/Dockerfile.dev b/Dockerfile.dev index f81d68f49..d5ec977b8 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -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