diff --git a/doozer/doozerlib/backend/rebaser.py b/doozer/doozerlib/backend/rebaser.py index 5629c44df..9c813784c 100644 --- a/doozer/doozerlib/backend/rebaser.py +++ b/doozer/doozerlib/backend/rebaser.py @@ -816,7 +816,7 @@ def _modify_cachito_commands(self, df_path): # Due to network flakiness, yarn install commands error out due to insufficient retries. # So increase timeout to 600000 ms, i.e. 10 mins - line = line.replace("yarn install", "yarn config set network-timeout 600000 && yarn install") + line = line.replace("RUN yarn", "RUN yarn config set network-timeout 600000 && yarn") updated_lines.append(line) line_commented = False