如何使用数字无缝/ nodejs-bower-grunt-runtime:wercker中的指南针支持?

我正在使用wercker来自动部署nodejs应用程序。

我认为digitallyseamless/nodejs-bower-grunt-runtime框与指南针支持将使工作。

但是当咕噜声尝试使用罗盘时,它会出错。

我的werker.yml

 box: digitallyseamless/nodejs-bower-grunt-runtime:compass-support build: steps: - wercker/npm-install - greatbeyond/bower-install@0.5.8 - wercker/grunt: stack: true fail-on-warnings: true tasks: clean ngconstant:production build 

关于compassgrunt日志的摘录

  Running "compass:dist" (compass) task Warning: Command failed: /bin/sh -c compass --version /bin/sh: 1: compass: not found Use --force to continue. Error: Command failed: /bin/sh -c compass --version /bin/sh: 1: compass: not found 

似乎我错过了一步。

如何使compass在盒子里工作?

我试着下载digitallyseamless/nodejs-bower-grunt-runtime:compass-support容器( digitallyseamless/nodejs-bower-grunt-runtime:compass-support ),当检查容器的内容时​​,我无法在容器上findcompass

事实certificate,该容器的ONBUILD在安装指南针时使用ONBUILD指令: https : ONBUILD

所以从这个基础镜像创build一个新的Docker容器时,它只会安装compass (尽pipe它也期望整个应用程序已经存在)。

您可以创build一个PR来从apt-get ...命令中删除ONBUILD指令,从而使compass成为该容器的一部分。

Interesting Posts