Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always docker/build.sh with --no-cache. #8038

Merged
merged 1 commit into from
May 18, 2021

Conversation

areusch
Copy link
Contributor

@areusch areusch commented May 13, 2021

  • Almost every docker container starts with apt-get install foo bar
  • This is inherently not cacheable, meanwhile the lack of --no-cache
    has bitten nearly everyone I've talked to who's tried to rebuild.
  • Adding now to address this repeated problem.

@areusch
Copy link
Contributor Author

areusch commented May 13, 2021

@jroesch @tqchen @tkonolige @leandron @mehrdadh

Copy link
Contributor

@leandron leandron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just need to remove a change which I think doesn't belong to this PR.

# As part of the build process, Zephyr needs to touch some symlinks in zephyr/misc/generated/syscalls_links (this path is relative to the
# build directory for a project). Mark the zephyr installation world-writable since this is a docker
# container
chmod -R o+w ${ZEPHYR_PROJECT_PATH}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the same from #8037 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooops, looks like i forgot to checkout. thanks!

 * Almost every docker container starts with apt-get install foo bar
 * This is inherently not cacheable, meanwhile the lack of --no-cache
   has bitten nearly everyone I've talked to who's tried to rebuild.
 * Adding now to address this repeated problem.
Copy link
Contributor

@leandron leandron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@leandron
Copy link
Contributor

@areusch feel free to merge it - I just didn't merge because CI was still pending, but the contents of this specific PR are not really tested in CI here, so feel free to merge when you're happy to do so.

@leandron leandron merged commit 12316c7 into apache:main May 18, 2021
@leandron
Copy link
Contributor

Thanks @areusch!

trevor-m pushed a commit to trevor-m/tvm that referenced this pull request Jun 17, 2021
* Almost every docker container starts with apt-get install foo bar
 * This is inherently not cacheable, meanwhile the lack of --no-cache
   has bitten nearly everyone I've talked to who's tried to rebuild.
 * Adding now to address this repeated problem.
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request Jun 17, 2021
* Almost every docker container starts with apt-get install foo bar
 * This is inherently not cacheable, meanwhile the lack of --no-cache
   has bitten nearly everyone I've talked to who's tried to rebuild.
 * Adding now to address this repeated problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants