Forums WoW Modding Support Archives Azerothcore Discord Archives [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

[DiscordArchive] if we're not mounting the host filesystem for the resulting binaries and cache to go into, how does

rektbyfaith
Administrator
0
05-05-2023, 05:58 PM
#1
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?
rektbyfaith
05-05-2023, 05:58 PM #1

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?

rektbyfaith
Administrator
0
05-05-2023, 06:43 PM
#2
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`
rektbyfaith
05-05-2023, 06:43 PM #2

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`

rektbyfaith
Administrator
0
05-05-2023, 06:56 PM
#3
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
rektbyfaith
05-05-2023, 06:56 PM #3

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

rektbyfaith
Administrator
0
05-05-2023, 06:57 PM
#4
Archived author: KJack • Posted: 2023-05-05T18:57:03.480000+00:00
Original source

`./var/build` catches that
rektbyfaith
05-05-2023, 06:57 PM #4

Archived author: KJack • Posted: 2023-05-05T18:57:03.480000+00:00
Original source

`./var/build` catches that

rektbyfaith
Administrator
0
05-05-2023, 06:57 PM
#5
Archived author: mynameismeat • Posted: 2023-05-05T18:57:19.666000+00:00
Original source

ah i missed that
rektbyfaith
05-05-2023, 06:57 PM #5

Archived author: mynameismeat • Posted: 2023-05-05T18:57:19.666000+00:00
Original source

ah i missed that

rektbyfaith
Administrator
0
05-05-2023, 06:57 PM
#6
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
rektbyfaith
05-05-2023, 06:57 PM #6

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

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)