-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-v flag now prints version. Dockerfile added. CHANGELOG added. Build hook for Docker Hub added.
- Loading branch information
1 parent
56976f6
commit f70104b
Showing
4 changed files
with
40 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
There are currently no unreleased changes. | ||
|
||
## v0.0.0 - 2020-06-01 | ||
This is the first version that includes the following functionality: | ||
- YAML configuration support | ||
- Route matching with standard wildcards | ||
- Array and value claim checks | ||
- HMAC, RSA and EC signing key support for JWT authentication | ||
- Claims-based authorization | ||
- Pure authorization server and reverse proxy modes | ||
|
||
[Unreleased]: https://github.com/kaancfidan/bouncer/compare/v0.0.0...master |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM golang:1.13 AS builder | ||
ARG VERSION | ||
WORKDIR /go/src/github.com/kaancfidan/bouncer | ||
COPY . . | ||
RUN go get -d -v | ||
RUN sed -i "s/0.0.0-VERSION/"$VERSION"/" main.go | ||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" | ||
|
||
FROM scratch | ||
COPY --from=builder /go/src/github.com/kaancfidan/bouncer/bouncer bouncer | ||
ENTRYPOINT ["./bouncer"] |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
|
||
docker build -t $IMAGE_NAME --build-arg VERSION=`git describe --tags || git describe` . |
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