diff --git a/biopet/biopet.wdl b/biopet/biopet.wdl
index 01739b0fc832b8d846cc7246d82078c5f72b7318..b05bec413390a8e2593ffda2e7ebc73bd81e4b54 100644
--- a/biopet/biopet.wdl
+++ b/biopet/biopet.wdl
@@ -234,7 +234,8 @@ task ReorderGlobbedScatters {
 
     runtime {
         docker: "python:" + dockerTag
-        memory: 1
+        # 2 gigs of memory to be able to build the docker image in singularity
+        memory: 2
     }
 }