Skip to content

Commit

Permalink
Adding image for external scaler e2e test. (#64)
Browse files Browse the repository at this point in the history
Signed-off-by: Vighnesh Shenoy <[email protected]>
  • Loading branch information
v-shenoy authored Apr 6, 2022
1 parent ac6624e commit c98bc4a
Show file tree
Hide file tree
Showing 7 changed files with 1,140 additions and 0 deletions.
16 changes: 16 additions & 0 deletions e2e/images/external-scaler-e2e/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM golang:1.17 as builder

WORKDIR /src

COPY . .

RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o external-scaler main.go


FROM alpine:latest

WORKDIR /

COPY --from=builder /src/external-scaler .

ENTRYPOINT ["/external-scaler"]
Loading

0 comments on commit c98bc4a

Please sign in to comment.