diff --git a/core/drupalci.yml b/core/drupalci.yml
index 2085b9737b..49f5ac1570 100644
--- a/core/drupalci.yml
+++ b/core/drupalci.yml
@@ -14,6 +14,8 @@ build:
         # phpcs will use core's specified version of Coder.
         sniff-all-files: false
         halt-on-fail: false
+      container_command:
+        commands: "cd ${SOURCE_DIR} && rm -rf vendor/drupal/coder && composer update -n"
     testing:
       # run_tests task is executed several times in order of performance speeds.
       # halt-on-fail can be set on the run_tests tasks in order to fail fast.
