OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Add watchexec to dev/backend Docker images
Wieland Lindenthal7ab62bef9bf8
diff --git a/docker/dev/backend/Dockerfile b/docker/dev/backend/Dockerfileindex f4b461e4ea8..1eff5796fac 100644--- a/docker/dev/backend/Dockerfile+++ b/docker/dev/backend/Dockerfile@@ -30,6 +30,17 @@ RUN apt-get update -qq && \RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash -RUN apt-get install -y nodejs+# Install watchexec for continuous test execution.+# Usage:+# - Add the following line to your ~/.bashrc ("dcrw" stands for "Docker Compose Rspec Watch"):+# dcrw() { docker compose exec backend-test watchexec --exts rb,erb -- bin/rspec --order defined --format documentation --fail-fast $1; }+# - and then use it like this:+# dcrw <path-to-your-spec-file>+RUN curl -fsSL https://apt.cli.rs/pubkey.asc | tee -a /usr/share/keyrings/rust-tools.asc+RUN curl -fsSL https://apt.cli.rs/rust-tools.list | tee /etc/apt/sources.list.d/rust-tools.list+RUN apt update+RUN apt install watchexec-cli+COPY ./docker/dev/backend/scripts/setup /usr/sbin/setupCOPY ./docker/dev/backend/scripts/run-app /usr/sbin/run-app