Replies: 1 comment 5 replies
-
Also, I think we could create an image with regression test outputs, update that image with each release, be clever with |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Building a Docker image takes awhile (~½ hour on CircleCI usually). Building AFNI from source instead of from the latest binaries (#1454) nearly doubles that.
Most of the time, all we're really changing is in this little bit at the end:
C-PAC/Dockerfile
Lines 216 to 226 in 55ae58c
I think we could create a
base.Dockerfile
that includes everything in our current Dockerfile except the above, build it with a GitHub Action only when that file changes and store it here, and have the regularDockerfile
build from that image instead ofC-PAC/Dockerfile
Line 2 in 55ae58c
I've done this in branches when trying particular versions of dependencies, like
C-PAC/Dockerfile
Lines 1 to 2 in c173336
but I think it would make sense to do this for all of the dependencies, to save that build time on Circle.
Related #788
Beta Was this translation helpful? Give feedback.
All reactions