Skip to content

Commit

Permalink
docker: add http-only dockerfile and upgrade to go 1.7 base image (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas authored Sep 29, 2016
1 parent 575f2e5 commit 784b5b2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.6
FROM golang:1.7

ADD . /go/src/github.com/ory-am/hydra
WORKDIR /go/src/github.com/ory-am/hydra
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-dangerous
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.6
FROM golang:1.7

ADD . /go/src/github.com/ory-am/hydra
WORKDIR /go/src/github.com/ory-am/hydra
Expand Down
12 changes: 12 additions & 0 deletions Dockerfile-http
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM golang:1.7

ADD . /go/src/github.com/ory-am/hydra
WORKDIR /go/src/github.com/ory-am/hydra

RUN go get github.com/Masterminds/glide
RUN glide install
RUN go install github.com/ory-am/hydra --force-dangerous-http

ENTRYPOINT /go/bin/hydra host

EXPOSE 4444

0 comments on commit 784b5b2

Please sign in to comment.