Gave it a try, seems to be kinda slow building docker images. An image that take 2 minutes in my machine is taking around 10 minutes in CodeBuild.
The build seems to freeze a little between docker build steps :
--- Example 1 ---
[Container] 2016/12/01 22:39:59 Step 9 : EXPOSE 3000
[Container] 2016/12/01 22:40:31 ---> Running in 1c6e3a4dbec8
[Container] 2016/12/01 22:40:45 ---> 602aa4bc97ac
-----------------
--- Example 2 ---
[Container] 2016/12/01 22:36:00 Step 4 : WORKDIR /src
[Container] 2016/12/01 22:36:32 ---> Running in 98800352e6c2
[Container] 2016/12/01 22:36:45 ---> b437afe2a1c5
-----------------
Not sure if this caused by the fact its a docker inside docker implementation.
--- Example 1 ---
[Container] 2016/12/01 22:39:59 Step 9 : EXPOSE 3000
[Container] 2016/12/01 22:40:31 ---> Running in 1c6e3a4dbec8
[Container] 2016/12/01 22:40:45 ---> 602aa4bc97ac
-----------------
--- Example 2 ---
[Container] 2016/12/01 22:36:00 Step 4 : WORKDIR /src
[Container] 2016/12/01 22:36:32 ---> Running in 98800352e6c2
[Container] 2016/12/01 22:36:45 ---> b437afe2a1c5
-----------------
Not sure if this caused by the fact its a docker inside docker implementation.