This commit is contained in:
Alexey Belaytzev 2022-07-13 15:20:05 +02:00 committed by GitHub
commit dfc63c1f08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM golang:alpine
RUN apk update && \
apk add git --no-cache && \
go get github.com/whyrusleeping/ipfs-key
CMD ["ipfs-key"]

View File

@ -50,6 +50,20 @@ Success!
ID for rsa key: 12D3KooWF1TKgiqLMh14za7dWMN5RFRC1WAvgHYioksmdwuhZkzT
```
# Docker Usage
### Local
```
$ docker build --tag="ipfs-key" .
$ docker run ipfs-key
```
### Docker Hub
```
$ docker run belaytzev/ipfs-key
```
## Contribute
PRs accepted.