Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@ build-and-run-interactive:
-v "./:/app/src/autograph" \
mozilla/autograph:latest /bin/bash

# using unit-test configuration build the docker image,
# and run it locally with our source code mounted under /app/src/autograph
# run as root to allow for changes, package installs, etc
build-and-run-test-interactive:
docker compose build
docker compose up -d db
docker compose up -d app
docker compose run --entrypoint /bin/bash -v "$(pwd):/app/src/autograph" -u 0:0 unit-test

# pull the docker image, and run it locally with our source code mounted under /app/src/autograph
# run as root to allow for changes, package installs, etc
pull-and-run-interactive:
Expand Down
Loading