envd icon indicating copy to clipboard operation
envd copied to clipboard

feat(lang): Embed dockerfile to build.envd

Open gaocegege opened this issue 2 years ago • 3 comments

Description

def build():
    dockerfile(`
RUN apt instal

ENV PATH $PATH:a
`
)

Message from the maintainers:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

gaocegege avatar Nov 11 '22 07:11 gaocegege

Good idea, But we need more details about the limit in embeded Dockerfile.

aseaday avatar Nov 11 '22 08:11 aseaday

Good idea, it will be useful for some developer is familiar with dockerfile usage.

xieydd avatar Nov 14 '22 14:11 xieydd

refer to: https://github.com/moby/buildkit/blob/18879bc80c235d7eba6610dc94cf54d543e2328d/examples/dockerfile2llb/main.go#L12

kemingy avatar Nov 30 '22 08:11 kemingy