Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Version 2.0 #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
ambassador-auth-oidc
vendor
vendor
.idea/
13 changes: 5 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
FROM golang:1.10-alpine3.8 as builder
FROM golang:1.14-alpine3.11 as builder
RUN apk update && apk add git
ADD *.go /go/src/ambassador-auth-oidc/
ADD . /go/src/ambassador-auth-oidc/
WORKDIR /go/src/ambassador-auth-oidc
ADD Gopkg.toml .
ADD Gopkg.lock .
RUN go get github.com/golang/dep/cmd/dep
RUN dep ensure
RUN go mod vendor
RUN go build -o /go/bin/ambassador-auth-oidc

FROM alpine:3.8
FROM alpine:3.11
LABEL org.label-schema.vcs-url="https://github.com/ajmyyra/ambassador-auth-oidc"
LABEL org.label-schema.version="1.3"
LABEL org.label-schema.version="2.0"
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*
RUN addgroup -S auth && adduser -S -G auth auth
USER auth
Expand Down
163 changes: 0 additions & 163 deletions Gopkg.lock

This file was deleted.

32 changes: 0 additions & 32 deletions Gopkg.toml

This file was deleted.

Loading