You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enclave building is a bit monolithic today which means intermediate steps can't effectively be cached. A clean rebuild using the Docker pipeline takes ~1.5 min.
There are three main culprits:
app
setup.sh and supervisord.conf
buildEnv (probably biggest)
Some improvement ideas
Use /bin directly for binaries instead of /app. This means the binaries don't have to be copied to /app and can directly be used as inputs to buildEnv without needing to go in app.
Break up setup.sh and supervisord.conf so each binary can define its own part which can be cached
Break up buildEnv into multiple logical groupings which eventually combine into one. Each part can now be made into a derivation and cached separately.
The text was updated successfully, but these errors were encountered:
Enclave building is a bit monolithic today which means intermediate steps can't effectively be cached. A clean rebuild using the Docker pipeline takes ~1.5 min.
There are three main culprits:
app
buildEnv
(probably biggest)Some improvement ideas
/bin
directly for binaries instead of/app
. This means the binaries don't have to be copied to/app
and can directly be used as inputs tobuildEnv
without needing to go inapp
.buildEnv
into multiple logical groupings which eventually combine into one. Each part can now be made into a derivation and cached separately.The text was updated successfully, but these errors were encountered: