[DiscordArchive] if we're not mounting the host filesystem for the resulting binaries and cache to go into, how does
[DiscordArchive] if we're not mounting the host filesystem for the resulting binaries and cache to go into, how does
Archived author: KJack • Posted: 2023-05-05T17:58:17.042000+00:00
Original source
if we're not mounting the host filesystem for the resulting binaries and cache to go into, how does the docker build process store it and then use it when compile is run again?
Archived author: KJack • Posted: 2023-05-05T18:43:24.855000+00:00
Original source
is this going in the right direction? `RUN --mount=type=cache,target=./var/build --mount=type=cache,target=./env/dist/data ./acore.sh client-data; ./acore.sh compiler build`
Archived author: mynameismeat • Posted: 2023-05-05T18:56:46.024000+00:00
Original source
right direction yes, but the targets aren't correct. cache is output to /azerothcore/var, so you'd need to cache that dir
Archived author: KJack • Posted: 2023-05-05T18:57:03.480000+00:00
Original source
`./var/build` catches that
Archived author: mynameismeat • Posted: 2023-05-05T18:57:19.666000+00:00
Original source
ah i missed that
Archived author: KJack • Posted: 2023-05-05T18:57:35.618000+00:00
Original source
i've also added the deno directory so that it doesn't need to redownload it every time