Skip to content

Conversation

@wangkuiyi
Copy link
Collaborator

  • Script files in docker/ are supposed to be called in the Dockerfile or copied into the Docker image. However, build_all.sh is not for those purposes. Instead, it invokes the command docker build to build the images. build_all.sh is (only) called in .travis.yml and it depends on $TRAVIS_BUILD_DIR, so I moved it to scripts/travis/build_images.sh.

  • We have two places to set the base image: (1) in the Dockerfile and (2) in build_all.sh. This is error-prone when a contributor wants to change the base image -- she might change only one of these two places. This PR removes the base image setting in build_all.sh.

@QiJune QiJune merged commit 04660ee into develop Jun 13, 2020
@QiJune QiJune deleted the move_build_all_to_travis branch June 13, 2020 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants