From f3d6d70412e90488066ce936709b96ce28155941 Mon Sep 17 00:00:00 2001 From: Mish <10400064+mishushakov@users.noreply.github.com> Date: Tue, 23 Sep 2025 15:41:49 +0200 Subject: [PATCH 1/4] added compatibility warning for templates created fromDockerfile --- template/migration.mdx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/template/migration.mdx b/template/migration.mdx index 4b45c22..e60adf2 100644 --- a/template/migration.mdx +++ b/template/migration.mdx @@ -12,10 +12,6 @@ We've made ready for you three ways how to migrate existing template to the new ## Migration Command (Recommended) - - This CLI command is not yet available, it will be released soon. - - To migrate the existing template definition to the new format, follow these steps: @@ -60,6 +56,14 @@ build_prod.py - Production build script ## Using `fromDockerfile()` Method + + Only a limited set of instructions are supported and converted to equivalent template. + + Compatible methods: + + `FROM`,`RUN`,`COPY`, `ADD`,`WORKDIR`,`USER`,`ENV`, `ARG`,`CMD`, `ENTRYPOINT` + + If you want to keep using Dockerfile for your template, you can use the `fromDockerfile()` method. We'll automatically parse the Dockerfile for you and build the template based on it. You can find more at [Base Image](/template/customization/base-image#parsing-existing-dockerfiles). From ac420d1c7545869feb640679858c1f5c4f1ac8f3 Mon Sep 17 00:00:00 2001 From: Mish Ushakov <10400064+mishushakov@users.noreply.github.com> Date: Fri, 26 Sep 2025 15:38:27 +0200 Subject: [PATCH 2/4] Apply suggestion from @dobrac Co-authored-by: Jakub Dobry --- template/migration.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/template/migration.mdx b/template/migration.mdx index e60adf2..f4f162e 100644 --- a/template/migration.mdx +++ b/template/migration.mdx @@ -60,8 +60,7 @@ build_prod.py - Production build script Only a limited set of instructions are supported and converted to equivalent template. Compatible methods: - - `FROM`,`RUN`,`COPY`, `ADD`,`WORKDIR`,`USER`,`ENV`, `ARG`,`CMD`, `ENTRYPOINT` + `FROM`, `RUN`, `COPY`, `ADD`, `WORKDIR`, `USER`, `ENV`, `ARG`, `CMD`, `ENTRYPOINT` If you want to keep using Dockerfile for your template, you can use the `fromDockerfile()` method. From d1c8647fdc1009af903b4a367cf3467daf264090 Mon Sep 17 00:00:00 2001 From: Mish <10400064+mishushakov@users.noreply.github.com> Date: Fri, 26 Sep 2025 15:39:34 +0200 Subject: [PATCH 3/4] commwnts --- template/migration.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/template/migration.mdx b/template/migration.mdx index f4f162e..da387bb 100644 --- a/template/migration.mdx +++ b/template/migration.mdx @@ -56,13 +56,6 @@ build_prod.py - Production build script ## Using `fromDockerfile()` Method - - Only a limited set of instructions are supported and converted to equivalent template. - - Compatible methods: - `FROM`, `RUN`, `COPY`, `ADD`, `WORKDIR`, `USER`, `ENV`, `ARG`, `CMD`, `ENTRYPOINT` - - If you want to keep using Dockerfile for your template, you can use the `fromDockerfile()` method. We'll automatically parse the Dockerfile for you and build the template based on it. You can find more at [Base Image](/template/customization/base-image#parsing-existing-dockerfiles). @@ -86,6 +79,13 @@ template = ( + + Only a limited set of instructions are supported and converted to equivalent template. + + Compatible instructions: + `FROM`, `RUN`, `COPY`, `ADD`, `WORKDIR`, `USER`, `ENV`, `ARG`, `CMD`, `ENTRYPOINT` + + After the template definition, you can create the build scripts as described in the [Quickstart](/template/quickstart#create-a-development-build-script) section. From 29e5107716665f9894825233b186642a306c3e03 Mon Sep 17 00:00:00 2001 From: Mish <10400064+mishushakov@users.noreply.github.com> Date: Fri, 26 Sep 2025 15:41:13 +0200 Subject: [PATCH 4/4] added newline --- template/migration.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/template/migration.mdx b/template/migration.mdx index da387bb..f4cb607 100644 --- a/template/migration.mdx +++ b/template/migration.mdx @@ -83,6 +83,7 @@ template = ( Only a limited set of instructions are supported and converted to equivalent template. Compatible instructions: + `FROM`, `RUN`, `COPY`, `ADD`, `WORKDIR`, `USER`, `ENV`, `ARG`, `CMD`, `ENTRYPOINT`