Skip to content

Commit

Permalink
Moved Dockerfile back to original location. images directory is not s…
Browse files Browse the repository at this point in the history
…uitable for building image-builder.
  • Loading branch information
dekiel committed Nov 30, 2023
1 parent 4dd0d9c commit 4db4e88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
9 changes: 8 additions & 1 deletion cmd/image-builder/images/kaniko/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
FROM europe-docker.pkg.dev/kyma-project/prod/testimages/buildpack-go:v20231128-9bb59ac6 AS builder

WORKDIR /
COPY . /app/
RUN cd /app/cmd/image-builder && CGO_ENABLED=0 go build -o /app/image-builder -a -ldflags '-extldflags "-static"' .


FROM gcr.io/kaniko-project/executor:v1.14.0

COPY ./image-builder /image-builder
COPY --from=builder /app/image-builder /image-builder

ENTRYPOINT ["/image-builder"]
11 changes: 0 additions & 11 deletions images/image-builder/Dockerfile

This file was deleted.

0 comments on commit 4db4e88

Please sign in to comment.