-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
When building containers for my project I noticed that, even if I build from the same Dockerfile, fig and docker build different image IDs in the end.
I also tried to use the same tag, but the images still were different.
Built with fig:
IMAGE CREATED CREATED BY SIZE
c9d754ad4f35 5 minutes ago /bin/sh -c #(nop) ADD dir:ce7a82aadebe53a9cff 16.92 MB
7601cc84a236 9 minutes ago /bin/sh -c /usr/local/bin/composer install -- 34.13 MB
712b4a974fed 10 minutes ago /bin/sh -c #(nop) ADD file:bbb37f3a1cb51d4326 92.3 kB
87d612d4111e 10 minutes ago /bin/sh -c #(nop) ADD file:afe6fb0fc00bfc90cb 2.734 kB
84d2d9e64dc3 10 minutes ago /bin/sh -c chmod 0400 /root/.ssh/id_rsa-deplo 1.808 kB
16e392fd78c7 10 minutes ago /bin/sh -c #(nop) ADD file:45af06b02553fb4264 81 B
48f0aa118a70 10 minutes ago /bin/sh -c #(nop) ADD file:07f9f2dc4a310c8a29 129 B
ec26eedffc59 10 minutes ago /bin/sh -c #(nop) ADD file:f140ceae508309fece 1.679 kB
--- same till here, layers above from Dockerfile in project ---
1f260e5c4f2f 11 days ago /bin/sh -c sed -i.bak 's/user = www-data/user 44.63 kB
5ec1e62830a7 11 days ago /bin/sh -c #(nop) ENV YII_DEBUG=true 0 B
e0a170b5adbc 11 days ago /bin/sh -c #(nop) ENV YII_ENV=dev 0 B
[...]
Built with docker:
a25b0e21a23b About a minute ago /bin/sh -c #(nop) ADD dir:48b6469d85aa5dbac5d 16.92 MB
6683ef055846 35 minutes ago /bin/sh -c /usr/local/bin/composer install -- 34.13 MB
47a678036ce5 36 minutes ago /bin/sh -c #(nop) ADD file:cd1a4d0926e8ab11d5 92.3 kB
3b6cd9a1b4e3 36 minutes ago /bin/sh -c #(nop) ADD file:21c0f8485a3f156686 2.734 kB
b59ee084978d 11 days ago /bin/sh -c chmod 0400 /root/.ssh/id_rsa-deplo 1.808 kB
12557dc808c9 11 days ago /bin/sh -c #(nop) ADD file:9654f92cebea52cf16 81 B
d5e3a48a5168 11 days ago /bin/sh -c #(nop) ADD file:1bf9bcdfdde8c6ee82 129 B
8fecc44750ee 11 days ago /bin/sh -c #(nop) ADD file:49570adcc24714e845 1.679 kB
--- same till here, layers above from Dockerfile in project ---
1f260e5c4f2f 11 days ago /bin/sh -c sed -i.bak 's/user = www-data/user 44.63 kB
5ec1e62830a7 11 days ago /bin/sh -c #(nop) ENV YII_DEBUG=true 0 B
e0a170b5adbc 11 days ago /bin/sh -c #(nop) ENV YII_ENV=dev 0 B
[...]
ec26eedffc59 and 8fecc44750ee is the same file, but added with different IDs.
Is there anything I've overlooked or is this a bug?
Using fig 1.0.1 docker 1.3.2.
srgl, edmorley, asfaltboy, jamesdbrock, remram44 and 5 more