[DiscordArchive] so if i understand right, docker is caching everything in those directories and restores is when the
[DiscordArchive] so if i understand right, docker is caching everything in those directories and restores is when the
Archived author: KJack • Posted: 2023-05-05T18:59:23.414000+00:00
Original source
so if i understand right, docker is caching everything in those directories and restores is when the image is compiled again. is that right?
Archived author: mynameismeat • Posted: 2023-05-05T19:00:05.181000+00:00
Original source
We can just skip deno if you want. In the context of building the program it's dead weight.
https://github.com/michaeldelago/azeroth...des.sh#L18
I think all of var should be fine. I have the contents of var in `.dockerignore`, though
Archived author: mynameismeat • Posted: 2023-05-05T19:00:28.309000+00:00
Original source
yeah, the `--mount=type=cache` mounts a volume to the build at the directory
Archived author: KJack • Posted: 2023-05-05T19:00:50+00:00
Original source
that's an easy way to handle that, i like it
Archived author: KJack • Posted: 2023-05-05T19:01:13.522000+00:00
Original source
i'll set that `SKIP_INSTALL_DENO` env var and see if it skips successfully
Archived author: mynameismeat • Posted: 2023-05-05T19:01:54.976000+00:00
Original source
I did edit that `apps/bash_shared/includes.sh` file to search for that env var, so be aware you'll have to edit the file for the functionality
Archived author: KJack • Posted: 2023-05-05T19:02:04.024000+00:00
Original source
ah, okay
Archived author: KJack • Posted: 2023-05-05T19:02:58.498000+00:00
Original source
let me follow in the footsteps of our StackExchange brethren and copy-paste that real quick...
Archived author: KJack • Posted: 2023-05-05T19:03:59.037000+00:00
Original source
the only other thing i noticed that's kind of meh is that since I added the `.git` folder to the `.dockerignore` file (to keep the copy operation smaller), it can't figure out what revision its compiling.
```
#14 1.398 fatal: not a git repository (or any of the parent directories): .git
#14 1.401 --
#14 1.401 Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
#14 1.401 Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"
```
Archived author: mynameismeat • Posted: 2023-05-05T19:04:13.959000+00:00
Original source
oh man yeah