Cannot mix 'command" and 'tmpfs' when running service

Tested with CLI tools version 0.8

  1. First problem, cannot mix command and tmpfs
 services:                                                                                                                                                                                
   mongo:                                                                                                                                                                                 
     image: mongo:3.2                                                                                                                                                                     
     command: [ --smallfiles, --noprealloc, --nojournal, --quiet ]                                                                                                                        
     tmpfs: /data/db

causes error 2017/10/12 00:28:17 Cannot override container command

Works fine without tmpfs

 services:                                                                                                                                                                                
   mongo:                                                                                                                                                                                 
     image: mongo:3.2                                                                                                                                                                     
     command: [ --smallfiles, --noprealloc, --nojournal, --quiet ]                                                                                                                        
  1. When running with just the tmpfs and no command the service never recognizes that it’s up. It waits forever.
services:                                                                                                                                                                                
   mongo:                                                                                                                                                                                 
     image: mongo:3.2                                                                                                                                                                     
     tmpfs: /data/db

I presume these are bugs - should I report both on Github?

I am unable to repeat on 0.8.2+build.1326

I just built drone-cli out of git c70270d38edc8cb0816dcc40fc3a98807541b325 using drone exec and then tried to drone exec with the new executable the below .drone.yml

services:                                                                                                                                                                                  
  mongo:                                                                                                                                                                                   
    image: mongo:3.2                                                                                                                                                                       
    command: [ --smallfiles, --noprealloc, --nojournal, --quiet ]                                                                                                                          
    tmpfs: /data/db 

Got:
2017/10/12 02:25:31 Cannot override container command

Is there a better way to build drone-cli?

@bradrydzewski so is it working for you with the above pasted .drone.yml?

I cannot reproduce on the server. I have not tested the CLI, but it is possible that the CLI has an outdated dependency.