Coder Social home page Coder Social logo

Comments (6)

cpselvis avatar cpselvis commented on May 1, 2024

OK,这个本周支持,在v0.15.1版本中上线这个功能

from feflow.

LeoEatle avatar LeoEatle commented on May 1, 2024

使用Docker似乎也是可以回答交互式问题的?
https://blog.csdn.net/leon_wzm/article/details/78260795
这个行得通么?

from feflow.

Vincentway avatar Vincentway commented on May 1, 2024

使用Docker似乎也是可以回答交互式问题的?
https://blog.csdn.net/leon_wzm/article/details/78260795
这个行得通么?

尝试了一下这种方案,将Dockerfile中feflow初始化脚本改为

RUN sh -c '/bin/echo -e "\n\n" | feflow'

结果在build dockerfile的时候,第一个应答通过,第二个应答会报错
image

查看了下feflow源码,个人怀疑是因为feflow初始化结束退出代码是process.exit(2),被Docker认为是脚本执行错误退出,进而导致镜像编译失败。
image

又尝试了下让Docker忽略退出错误

RUN sh -c '/bin/echo -e "\n\n" | feflow'; exit 0

但似乎Docker存在保护机制,虽然镜像编译成功,但错误的部分会被移除,运行该镜像还是需要初始化feflow
image

目前这种方案还没办法编译出初始化完成的feflow镜像,具体原因还得定位下。

from feflow.

LeoEatle avatar LeoEatle commented on May 1, 2024

好吧,那感觉只能给feflow init加个参数支持一下了?
不过本来这两个问题难道不是针对厂内的同学才需要的吗?所以本来就不需要有啊
对于需要修改源地址的同学,增加个命令手动修改比较好...

from feflow.

cpselvis avatar cpselvis commented on May 1, 2024

这个目前其实已经有了命令了

$ feflow config set <key> <value>

不过这个命令也需要检查Feflow是否初始化过。会把这个限制去掉

from feflow.

cpselvis avatar cpselvis commented on May 1, 2024

v0.16.0-beta.8 版本已经支持,对应的 commit: b68df16 bdcea16

from feflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.