Skip to content
Snippets Groups Projects
Containerfile 241 B
Newer Older
  • Learn to ignore specific revisions
  • Jakob Probst's avatar
    Jakob Probst committed
    FROM docker.io/golang:latest as builder
    
    RUN CGO_ENABLED=0 go install github.com/dexidp/dex/examples/example-app@latest
    
    FROM docker.io/alpine:latest
    
    COPY --from=builder /go/bin/example-app /usr/local/bin/example-app
    
    CMD [ "example-app" ]