Comments (6)
OK,这个本周支持,在v0.15.1版本中上线这个功能
from feflow.
使用Docker似乎也是可以回答交互式问题的?
https://blog.csdn.net/leon_wzm/article/details/78260795
这个行得通么?
from feflow.
使用Docker似乎也是可以回答交互式问题的?
https://blog.csdn.net/leon_wzm/article/details/78260795
这个行得通么?
尝试了一下这种方案,将Dockerfile中feflow初始化脚本改为
RUN sh -c '/bin/echo -e "\n\n" | feflow'
结果在build dockerfile的时候,第一个应答通过,第二个应答会报错
查看了下feflow源码,个人怀疑是因为feflow初始化结束退出代码是process.exit(2),被Docker认为是脚本执行错误退出,进而导致镜像编译失败。
又尝试了下让Docker忽略退出错误
RUN sh -c '/bin/echo -e "\n\n" | feflow'; exit 0
但似乎Docker存在保护机制,虽然镜像编译成功,但错误的部分会被移除,运行该镜像还是需要初始化feflow
目前这种方案还没办法编译出初始化完成的feflow镜像,具体原因还得定位下。
from feflow.
好吧,那感觉只能给feflow init
加个参数支持一下了?
不过本来这两个问题难道不是针对厂内的同学才需要的吗?所以本来就不需要有啊
对于需要修改源地址的同学,增加个命令手动修改比较好...
from feflow.
这个目前其实已经有了命令了
$ feflow config set <key> <value>
不过这个命令也需要检查Feflow是否初始化过。会把这个限制去掉
from feflow.
v0.16.0-beta.8 版本已经支持,对应的 commit: b68df16 bdcea16
from feflow.
Related Issues (20)
- 希望给 devkit 命令开放 -v -version arg参数 HOT 1
- 建议添加个--disable-check选项 HOT 2
- feflow要求使用的版本为 undefined HOT 3
- @feflow/cli 增加忽略更新检查 HOT 1
- 使用反馈,开启 auto update之后,没有新版本也会自动升级 HOT 1
- 运行 fef dev 报无法加载 C:\Program Files\nodejs\fef.ps1 HOT 1
- integrity checksum failed when using sha1 HOT 1
- 选择Yarn作为包管理器后,安装plugin的时候报错`install` has been replaced with `add` to add new dependencies. HOT 1
- 运行fef init时,提示Your project config is not correct HOT 5
- 构建器升级后,老的项目的构建器配置是否也需要更改? HOT 1
- <FEAT>feflow对象挂载当面执行的命令 HOT 2
- Windows无法feflow install安装插件 HOT 1
- Feflow WARN 的颜色看不清楚 HOT 2
- The README file in this repo has a bad link - [404:NotFound]
- windows fef更新到最新版本还是有 cmd 弹窗弹出 HOT 1
- 安装@feflow/cli 0.22版本后,执行install命令,提示该终端无法正常执行命令 HOT 4
- fef install支持透传一些参数
- 为什么npm -g的包都被装到了@feflow/cli/bin 下面 HOT 2
- 插件里面找不到feflow HOT 1
- 执行feflow的命令时经常报错update.lock error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from feflow.