-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from jranson/caching
Don't cache generically-handled paths
- Loading branch information
Showing
4 changed files
with
54 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,15 +11,13 @@ RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -installsuffix cgo -o tric | |
FROM alpine:3.7 | ||
LABEL maintainer "The Trickster Authors <[email protected]>" | ||
|
||
RUN addgroup trickgrp && adduser -D -g '' trickusr && adduser trickusr trickgrp | ||
|
||
COPY --from=builder /go/src/github.com/Comcast/trickster/trickster /usr/local/bin/trickster | ||
COPY conf/example.conf /etc/trickster/trickster.conf | ||
RUN chown trickusr /usr/local/bin/trickster | ||
RUN chown nobody /usr/local/bin/trickster | ||
RUN chmod +x /usr/local/bin/trickster | ||
|
||
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* | ||
|
||
EXPOSE 9090 8082 | ||
USER trickusr | ||
USER nobody | ||
ENTRYPOINT ["trickster"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters