Open peakyDicers opened 3 years ago
Hi @peakyDicers, thanks for opening this issue. Currently npm run release
is only run during image build, so it's only ever run once and thus we haven't encountered this situation. Of course, dindctl refresh
does appear to use the script, but we're not using docker-in-docker for the majority of our development so we haven't encountered this situation there either. I do remember @Page- listing a good use case for dind -- Page, what do you think about maintaining dind in the Supervisor repo? Should we continue to do so?
Ian, we do have an npm script which functions as rm -rf build
: it's npm run clean
, and it supports Windows workflows as well :)
When you run
npm run release
more than once, you will get these errors and fail.I noticed this while trying to run
dindctl refresh
. I was able to fix this by addingrm -rf build
to the beginning of the release command.Does this seem okay? If so, I can go ahead and submit a PR.