Skip to content

Commit

Permalink
auto-build docker image via docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
fardog committed Jan 29, 2017
1 parent 577470f commit 72ebc19
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
@@ -1,12 +1,13 @@
FROM alpine:latest
FROM golang:alpine

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
RUN mkdir -p /go/src/github.com/fardog/secureoperator
COPY . /go/src/github.com/fardog/secureoperator

COPY release/secure-operator_linux-amd64 /usr/local/bin/secure-operator
WORKDIR /go/src/github.com/fardog/secureoperator/cmd/secure-operator
RUN go install -v

CMD secure-operator --listen 0.0.0.0:53
9 changes: 6 additions & 3 deletions README.md
Expand Up @@ -36,9 +36,12 @@ 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.
The `latest` tag will always be the build from the `master` branch. If you wish
to use one of the stable releases, use its version tag when pulling, e.g.:

```
docker pull fardog/secureoperator:v1.0.2
```

## Security

Expand Down

0 comments on commit 72ebc19

Please sign in to comment.