Skip to content

Commit

Permalink
code format beautified
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander <mrmoor4@googlemail.com>
  • Loading branch information
schwankner committed Jan 13, 2024
1 parent 716d9a1 commit bcf4597
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,17 @@ The Docker images are build for amd64 and arm64. Docker will download the correc
Only the async Docker image is available from the registry, because it's mainly used.
#### Usage

docker run --mount type=bind,source="$(pwd)"/reports,target=/usr/src/app/reports ghcr.io/schwankner/APTnotes-tools
docker run \
--mount type=bind,source="$(pwd)"/reports,target=/usr/src/app/reports \
ghcr.io/schwankner/aptnotes-tools

This mounts the reports folder in the container and downloads all the reports to it.
#### Build
There are two Dockerfiles, one for sync and another for async download of the reports. Use the one which fits for you.

docker build -f APTnotes_async_dockerfile.Dockerfile . -t aptnotes/tools-async:latest
docker build \
-f APTnotes_async_dockerfile.Dockerfile
. \
-t aptnotes/tools-async:latest

Note!: If you build the image your self, you have to change the image name in the `docker run` command to `localhost/aptnotes/tools-async`.

0 comments on commit bcf4597

Please sign in to comment.