Skip to content

Commit

Permalink
adds docker release
Browse files Browse the repository at this point in the history
  • Loading branch information
fardog committed Jan 29, 2017
1 parent b089e45 commit 577470f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
@@ -0,0 +1,12 @@
FROM alpine:latest

EXPOSE 53

RUN apk --no-cache add ca-certificates && update-ca-certificates

# link shared libs in place for go binary
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2

COPY release/secure-operator_linux-amd64 /usr/local/bin/secure-operator

CMD secure-operator --listen 0.0.0.0:53
15 changes: 15 additions & 0 deletions README.md
Expand Up @@ -28,6 +28,18 @@ information, run `secure-operator --help`.
**Note:** Running a service on port `53` requires administrative privileges on
most systems.

### Docker

There is a [Docker][docker] image available for secureoperator:

```
docker pull fardog/secureoperator
```

The `latest` tag will always be the most recently tagged release. For now these
builds are being done manually, so if they are out of date please
[file an issue][issues] so that I can get them updated.

## Security

Note that while DNS requests are made over HTTPS, this does not imply "secure";
Expand All @@ -48,6 +60,7 @@ consider the following:
* No caching is implemented, and probably never will. If you need caching, put
your `secure-operator` server behind another DNS server which provides
caching.
* Build docker images automatically via travis

## Acknowledgments

Expand All @@ -72,3 +85,5 @@ This owes heavily to the following work:
[dnsoverhttps]: https://developers.google.com/speed/public-dns/docs/dns-over-https
[googlednspriv]: https://developers.google.com/speed/public-dns/privacy
[releases]: https://github.com/fardog/secureoperator/releases
[docker]: https://www.docker.com/
[issues]: https://github.com/fardog/secureoperator/issues

0 comments on commit 577470f

Please sign in to comment.