Skip to content

Commit

Permalink
Build failure test
Browse files Browse the repository at this point in the history
Test to make sure that build fails due to inability to set conda environment variable.
  • Loading branch information
nataliejschultz committed Jul 6, 2023
1 parent a997298 commit dba05cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ RUN chmod u+x ./.docker/setup_config.sh


# # This clone puts the server code into the image, not the container
RUN bash -c "./.docker/setup_config.sh" && echo "finished setup_config.sh"

RUN bash -c "./.docker/setup_config.sh" && echo "finished setup_config.sh"

RUN if [ -z "$_CE_CONDA" ]; then echo 'Environment variable _CE_CONDA must be specified. Exiting.'; exit 1; fi
# # #declare environment variables
# ENV DB_HOST=''
# ENV WEB_SERVER_HOST=''
Expand Down

0 comments on commit dba05cf

Please sign in to comment.