diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index 98f5922..1b1415b 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -1,6 +1,7 @@
 <?php
 
 use Drupal\Core\Database\Database;
+use Drupal\Core\DependencyInjection\BootstrapContainer;
 use Symfony\Component\ClassLoader\UniversalClassLoader;
 use Symfony\Component\ClassLoader\ApcUniversalClassLoader;
 use Symfony\Component\DependencyInjection\Container;
@@ -2461,29 +2462,7 @@ function drupal_container(Container $reset = NULL) {
   elseif (!isset($container)) {
     // Return a ContainerBuilder instance with the bare essentials needed for any
     // full bootstrap regardless of whether there will be a DrupalKernel involved.
-    // This will get merged with the full Kernel-built Container on normal page
-    // requests.
-    $container = new ContainerBuilder();
-    // Register configuration storage dispatcher.
-    $container->setParameter('config.storage.info', array(
-      'Drupal\Core\Config\DatabaseStorage' => array(
-        'connection' => 'default',
-        'target' => 'default',
-        'read' => TRUE,
-        'write' => TRUE,
-      ),
-      'Drupal\Core\Config\FileStorage' => array(
-        'directory' => config_get_config_directory(),
-        'read' => TRUE,
-        'write' => FALSE,
-      ),
-    ));
-    $container->register('config.storage.dispatcher', 'Drupal\Core\Config\StorageDispatcher')
-      ->addArgument('%config.storage.info%');
-
-    // Register configuration object factory.
-    $container->register('config.factory', 'Drupal\Core\Config\ConfigFactory')
-      ->addArgument(new Reference('config.storage.dispatcher'));
+    $container = new BootstrapContainer();
   }
   return $container;
 }
diff --git a/core/lib/Drupal/Core/CoreBundle.php b/core/lib/Drupal/Core/CoreBundle.php
index c5f98a3..f30e773 100644
--- a/core/lib/Drupal/Core/CoreBundle.php
+++ b/core/lib/Drupal/Core/CoreBundle.php
@@ -22,6 +22,23 @@ class CoreBundle extends Bundle
     // Add a 'request' scope for services that depend on the Request object.
     $container->addScope(new Scope('request'));
 
+    $container->setParameter('config.storage.info', array(
+      'Drupal\Core\Config\DatabaseStorage' => array(
+        'connection' => 'default',
+        'target' => 'default',
+        'read' => TRUE,
+        'write' => TRUE,
+      ),
+      'Drupal\Core\Config\FileStorage' => array(
+        'directory' => config_get_config_directory(),
+        'read' => TRUE,
+        'write' => FALSE,
+      ),
+    ));
+    $container->register('config.storage.dispatcher', 'Drupal\Core\Config\StorageDispatcher')
+      ->addArgument('%config.storage.info%');
+    $container->register('config.factory', 'Drupal\Core\Config\ConfigFactory')
+      ->addArgument(new Reference('config.storage.dispatcher'));
     $container->register('dispatcher', 'Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher')
       ->addArgument(new Reference('service_container'));
     $container->register('resolver', 'Symfony\Component\HttpKernel\Controller\ControllerResolver');
diff --git a/core/lib/Drupal/Core/DependencyInjection/BootstrapContainer.php b/core/lib/Drupal/Core/DependencyInjection/BootstrapContainer.php
new file mode 100644
index 0000000..865c8e8
--- /dev/null
+++ b/core/lib/Drupal/Core/DependencyInjection/BootstrapContainer.php
@@ -0,0 +1,55 @@
+<?php
+
+/**
+ * @file
+ * Definition of Drupal\Core\DependencyInjection\BootstrapContainer.
+ */
+
+namespace Drupal\Core\DependencyInjection;
+
+use Symfony\Component\DependencyInjection\ContainerInterface;
+use Symfony\Component\DependencyInjection\Container;
+use Symfony\Component\DependencyInjection\Reference;
+use Symfony\Component\DependencyInjection\Parameter;
+use Symfony\Component\DependencyInjection\ParameterBag\ParameterBag;
+
+/**
+ * This precompiled container will be used when a full bootstrap happens outside
+ * the scope of a normal page request.
+ */
+class BootstrapContainer extends Container
+{
+  private $config_dir;
+  public function __construct()
+  {
+    parent::__construct(new ParameterBag($this->getDefaultParameters()));
+    $this->config_dir = config_get_config_directory();
+  }
+  protected function getConfig_FactoryService()
+  {
+    return $this->services['config.factory'] = new \Drupal\Core\Config\ConfigFactory($this->get('config.storage.dispatcher'));
+  }
+  protected function getConfig_Storage_DispatcherService()
+  {
+    return $this->services['config.storage.dispatcher'] = new \Drupal\Core\Config\StorageDispatcher(array('Drupal\\Core\\Config\\DatabaseStorage' => array('connection' => 'default', 'target' => 'default', 'read' => true, 'write' => true), 'Drupal\\Core\\Config\\FileStorage' => array('directory' => $this->config_dir, 'read' => true, 'write' => false)));
+  }
+
+  protected function getDefaultParameters()
+  {
+    return array(
+      'config.storage.info' => array(
+        'Drupal\\Core\\Config\\DatabaseStorage' => array(
+          'connection' => 'default',
+          'target' => 'default',
+          'read' => true,
+          'write' => true,
+        ),
+        'Drupal\\Core\\Config\\FileStorage' => array(
+            'directory' => $this->config_dir,
+            'read' => true,
+            'write' => false,
+        ),
+      ),
+    );
+  }
+}
diff --git a/core/lib/Drupal/Core/DrupalKernel.php b/core/lib/Drupal/Core/DrupalKernel.php
index fe5a67e..297bfc1 100644
--- a/core/lib/Drupal/Core/DrupalKernel.php
+++ b/core/lib/Drupal/Core/DrupalKernel.php
@@ -58,10 +58,6 @@ class DrupalKernel extends Kernel {
   protected function buildContainer() {
     $container = $this->getContainerBuilder();
 
-    // Merge in the minimal bootstrap container.
-    if ($bootstrap_container = drupal_container()) {
-      $container->merge($bootstrap_container);
-    }
     foreach ($this->bundles as $bundle) {
       $bundle->build($container);
     }
