Commit graph

60 commits

Author SHA1 Message Date
12971b63e2
Manually compile vendored aprs dependency
The vendored dependency wasn't being found in the expected location.
This approach manually compiles it and copies the compiled files to
the correct location before running the main compilation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 17:42:33 -05:00
161562d130
Debug and fix aprs dependency compilation
Use compile.protocols and compile.elixir to avoid dependency checking.
Also add debug output to see if aprs is being compiled properly.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 17:40:08 -05:00
3c4b06dd0c
Fix Docker build by temporarily disabling gleam_compile alias
The issue is that mix compile alias includes gleam_compile which fails.
This workaround temporarily comments out the compile alias in mix.exs,
runs the standard mix compile, then manually copies Gleam BEAM files.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 17:37:37 -05:00
080b945a75
Use compile.elixir to avoid dependency checking
The mix compile task includes dependency checking which fails for vendored deps.
Using compile.elixir directly compiles only the Elixir source files.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 17:34:40 -05:00
bde7800d48
Fix Docker build by bypassing gleam_compile alias
The gleam_compile mix task fails in CI due to dependency checking issues.
This workaround copies the pre-compiled BEAM files directly and uses
mix compile without the custom alias.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 17:32:12 -05:00
8f9987cb5c
Fix Docker build by removing manual compilation step
The vendored aprs dependency is properly compiled by mix deps.compile
without needing a separate compilation step.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 17:26:00 -05:00
864e9f9f2f
Fix Docker build for vendored aprs dependency
The vendored aprs dependency wasn't being compiled properly in the Docker build.
Added explicit compilation step to ensure the dependency is built before mix deps.compile.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-24 17:23:02 -05:00
9193487c01
docker tweak 2025-07-24 17:15:10 -05:00
f4aabf56c0
Install Node.js in Docker to build vendor assets
- Add Node.js installation to Dockerfile
- Run npm install to get dependencies
- Build vendor bundle during Docker build
- Remove unnecessary assets.deploy.prod alias

This ensures all JavaScript dependencies are available during the build process.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 12:57:46 -05:00
6944b9829c
Fix Docker build by using pre-bundled vendor assets
- Add new mix alias 'assets.deploy.prod' that skips vendor bundling
- Copy pre-bundled vendor.js and vendor.css files in Dockerfile
- Prevents esbuild errors when npm packages aren't available during build

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 12:41:27 -05:00
9b034cd211
vendor all js 2025-07-21 11:09:14 -05:00
74767345fd
Fix Docker build by downloading vendor files during build
The Docker build was failing because vendor CSS files (leaflet.css, etc.)
were not available during the assets compilation step. Since vendor files
are in .gitignore, they need to be downloaded during the Docker build.

Added steps to the Dockerfile to:
- Copy the download-vendor-files.sh script into the build container
- Execute the script to download all vendor JS and CSS files
- This ensures vendor files are present before mix assets.deploy runs

This fixes the "Can't resolve '../vendor/leaflet.css'" error during
production deployments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 10:05:59 -05:00
1a84eb594a
Fix Gleam compilation in Docker builds
- Mark gleam_stdlib and gleeunit with compile: false in mix.exs
- Copy pre-compiled Gleam BEAM files in Dockerfile
- Add explicit mix gleam_compile step before asset compilation
- Ensure priv/gleam directory is included in Docker build

This fixes the "Could not compile :gleam_stdlib" error during deployment.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 15:11:08 -05:00
8cc2cf0a5e
Fix Docker deployment with Gleam integration
- Update gleam_compile task to handle missing mix_gleam/gleam binary
- Add fallback to use pre-compiled BEAM files from priv/gleam
- Include pre-compiled aprsme@encoding.beam for Docker builds
- Update both Dockerfiles to ensure priv/gleam directory exists
- Fix module name filter from "aprs@" to "aprsme@" in fallback logic

This ensures Docker builds work without requiring gleam or mix_gleam
to be installed in the production container.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 14:06:36 -05:00
184ca52a8c
cleanup 2025-07-13 09:35:40 -05:00
d75a8e75c6
docker fix for vendored submodule 2025-07-11 14:34:38 -05:00
9dd7ca8f56
fix parser version check 2025-07-07 14:54:52 -05:00
ba80e414d8
fix parser version check 2025-07-07 14:46:31 -05:00
2c8b594d59
fix parser version check 2025-07-07 14:24:47 -05:00
6cebd03d7f
fix parser version check 2025-07-07 14:16:55 -05:00
cfdaf954d5
fix parser version check 2025-07-07 14:16:08 -05:00
bd534da1ac
fix parser version check 2025-07-07 14:01:43 -05:00
c87b58a2df
fix parser version check 2025-07-07 13:56:58 -05:00
75805ffc12
fix parser version check 2025-07-07 13:53:09 -05:00
da9d89a3a0
fix parser version check 2025-07-07 13:50:04 -05:00
f3ca970174
deployed at fix 2025-06-21 22:16:25 -05:00
2a98013a96
deployed at fix 2025-06-21 22:13:56 -05:00
05815a0f8b
add deployed timestamp 2025-06-21 22:05:31 -05:00
4c4b4ac2e0
docker prune 2025-06-16 15:54:36 -05:00
6f54625dc8
add icons to static path 2025-06-16 11:04:58 -05:00
54f8401d2c
docker fix 2025-06-16 10:54:51 -05:00
eafea1ed30
docker cleanup 2025-06-16 10:52:52 -05:00
f0c25f7ff4
docker fix 2025-06-16 10:47:20 -05:00
ab64585c02
dokku port fixes 2025-06-16 10:45:29 -05:00
e107cd7a4b
dokku port fixes 2025-06-16 10:43:37 -05:00
846cf8a74b
silence docker errors 2025-06-16 08:27:51 -05:00
cb58946f71
back to orig docker 2025-06-15 19:11:52 -05:00
b8f61a9a06
docker updates 2025-06-15 17:44:31 -05:00
7a8a5443f6
docker updates 2025-06-15 17:39:28 -05:00
c5617b6e8d
docker updates 2025-06-15 17:36:51 -05:00
1a456849a4 distroless 2025-06-15 15:19:29 -05:00
8a4189ad74 distroless 2025-06-15 15:11:45 -05:00
40eeb2f4aa distroless 2025-06-15 15:04:53 -05:00
05951ad609 distroless 2025-06-15 15:01:38 -05:00
e44e8139c8 dockerfile update 2025-06-15 14:50:23 -05:00
4254b4942d dockerfile update 2025-06-15 14:06:46 -05:00
5710020393 dockerfile update 2025-06-15 14:04:17 -05:00
fe3d5ebf8d dockerfile update 2025-06-15 14:02:49 -05:00
534cefc973 dockerfile update 2025-06-15 13:59:25 -05:00
d76eedbd6c docker security 2025-06-15 11:07:42 -05:00