mirror of
https://github.com/cathugger/mkp224o.git
synced 2025-04-19 21:39:11 +00:00
🐳 Added support for Docker
This commit is contained in:
parent
2e0344928f
commit
ab11b7fdf0
3 changed files with 29 additions and 1 deletions
3
.dockerignore
Normal file
3
.dockerignore
Normal file
|
@ -0,0 +1,3 @@
|
|||
Dockerfile
|
||||
.dockerignore
|
||||
README.txt
|
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
@ -0,0 +1,20 @@
|
|||
FROM alpine:3.12.0
|
||||
|
||||
#Installing all the dependencies
|
||||
RUN apk add gcc libsodium-dev make autoconf build-base
|
||||
|
||||
WORKDIR /mkp224o
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN ["./autogen.sh"]
|
||||
|
||||
RUN ["./configure"]
|
||||
|
||||
RUN ["make"]
|
||||
|
||||
RUN cp /mkp224o/mkp224o /usr/bin/
|
||||
|
||||
WORKDIR /root
|
||||
|
||||
CMD ["sh"]
|
|
@ -24,7 +24,6 @@ or "--enable-donna" to configure script for faster key generation;
|
|||
run `./configure --help` to see all available options.
|
||||
Finally, `make` to start building (`gmake` in *BSD platforms).
|
||||
|
||||
|
||||
USAGE:
|
||||
|
||||
Generator needs one or more filters to work.
|
||||
|
@ -44,6 +43,12 @@ FAQ AND OTHER USEFUL INFO:
|
|||
for onions starting with "neko" in this example; use `./mkp224o -d nekokeys neko` to
|
||||
not litter current directory and put all discovered keys in directory named "nekokeys".
|
||||
|
||||
* How do I run with Docker?
|
||||
- `docker build -f Dockerfile -t mkp224o .` to build the docker image
|
||||
`docker run -it -v `pwd`:/root/ onion:latest sh`
|
||||
Now run the `mkp224o neko` command and it will create key for onion starting with "neko"
|
||||
in the current working directory.
|
||||
|
||||
* How do I make tor use generated keys?
|
||||
- Copy key folder (though technically only hs_ed25519_secret_key is required)
|
||||
to where you want your service keys to reside:
|
||||
|
|
Loading…
Add table
Reference in a new issue