-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates docs and examples for Trickster v2.0
- Loading branch information
James Ranson
authored
Mar 8, 2021
1 parent
ccb6c69
commit 520e6df
Showing
77 changed files
with
2,454 additions
and
2,232 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 |
---|---|---|
@@ -1,19 +1,17 @@ | ||
# This docker file is for local dev, the official Dockerfile is at | ||
# https://github.com/tricksterproxy/trickster-docker-images/ | ||
ARG IMAGE_ARCH=amd64 | ||
|
||
FROM golang:1.15 as builder | ||
FROM golang:1.16 as builder | ||
COPY . /go/src/github.com/tricksterproxy/trickster | ||
WORKDIR /go/src/github.com/tricksterproxy/trickster | ||
|
||
ARG GOARCH=amd64 | ||
RUN GOOS=linux GOARCH=${GOARCH} CGO_ENABLED=0 make build | ||
RUN GOOS=linux CGO_ENABLED=0 make build | ||
|
||
FROM ${IMAGE_ARCH}/alpine:3.12 | ||
FROM alpine:3 | ||
LABEL maintainer "The Trickster Authors <[email protected]>" | ||
|
||
COPY --from=builder /go/src/github.com/tricksterproxy/trickster/OPATH/trickster /usr/local/bin/trickster | ||
COPY cmd/trickster/conf/example.conf /etc/trickster/trickster.conf | ||
COPY examples/conf/example.full.yaml /etc/trickster/trickster.yaml | ||
RUN chown nobody /usr/local/bin/trickster | ||
RUN chmod +x /usr/local/bin/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
Oops, something went wrong.