kyma-project / cli

Simple set of commands to manage a Kyma installation
Apache License 2.0
112 stars 118 forks source link

Implement image building in the `kyma alpha app push` command #2249

Closed Cortey closed 1 week ago

Cortey commented 1 week ago

Description As in title

Changes proposed in this pull request:

Related issue(s) https://github.com/kyma-project/cli/issues/2241

pPrecel commented 1 week ago

we've tested functionality using this Dockerfile:

FROM alpine:latest

WORKDIR /workspace

RUN apk update
RUN apk add go

COPY . /workspace

CMD [ "go", "run", "main.go", "--help", "&&", "sleep", "infinity" ]

and by running command:

go run main.go alpha app push --name test --dockerfile Dockerfile