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:
parent
d27d7c20b4
commit
5c07c862e1
14 changed files with 322 additions and 69 deletions
10
images/ext-auth-example-authsvc/rootfs/Dockerfile
Normal file
10
images/ext-auth-example-authsvc/rootfs/Dockerfile
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue