Skip to content

Commit

Permalink
ref(docker): combine test and prod entrypoints into one
Browse files Browse the repository at this point in the history
This makes the following changes
- Uses `-x` instead of echoing the variables values
- Sets default values where required
- Create a function to list directories
- Create a function to run cargo tests
- Use a better approach to handle different options in the `case` manegement for tests and production
- Replaces all instances of `runtime-entrypoint.sh` with `entrypoint.sh`
  • Loading branch information
gustavovalverde committed Oct 2, 2023
1 parent 0309afc commit 27abfaa
Show file tree
Hide file tree
Showing 6 changed files with 890 additions and 240 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@
!zebra-*
!zebrad
!docker/entrypoint.sh
!docker/runtime-entrypoint.sh
Loading

0 comments on commit 27abfaa

Please sign in to comment.