Resolved the bugs

This commit is contained in:
Artem Smirnov 2018-09-14 01:46:37 +03:00 committed by GitHub
parent b239fc0a76
commit 404f971dd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 7 deletions

View File

@ -25,8 +25,6 @@ docker run \
smirart/aptly:latest
```
> Wait until the GPG keyrings are created (not 0 bytes) before proceeding (it can take a few minutes). They will be in the bind mount location.
### Explane of the flags
Flag | Description
@ -115,12 +113,8 @@ By default, Docker will map port 80 on the Docker host to port 80 within the con
The GPG password which you specified in `GPG_PASSWORD` is stored in plain text and visible as an environment variable inside the container.
It is set as an enviornment variable to allow for automation of repository updates without user interaction. The GPG password can be removed completely but it is safer to encrypt the GPG keyrings because they are bind mounted outside the container to avoid the necessity of regenerating/redistributing keys if the container is removed or rebuilt.
## Bugs
* **startup.sh**: looks like that `gpg --batch --gen-key /opt/gpg_batch` execute in separating process & next step is incorrect.
___
* Copyright 2018 Artem B. Smirnov
* Copyright 2016 Bryan J. Hong
* Licensed under the Apache License, Version 2.0
* Licensed under the Apache License, Version 2.0