Removed s390x, linux/arm platform as docker build was crashing (#8121)

Co-authored-by: Carlos Tadeu Panato Junior <ctadeu@gmail.com>
This commit is contained in:
Nishant Jain 2022-03-22 16:53:44 +05:30 committed by GitHub
parent d27d7c20b4
commit 5c07c862e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 322 additions and 69 deletions

View file

@ -0,0 +1,10 @@
FROM golang:1.17.6-alpine3.15 as builder
RUN mkdir /authsvc
WORKDIR /authsvc
COPY . ./
RUN CGO_ENABLED=0 GOOS=linux go build -o authsvc authsvc.go
FROM gcr.io/distroless/base-debian11
COPY --from=builder /authsvc/authsvc /
EXPOSE 8080
ENTRYPOINT ["/authsvc"]