balena-io-library / resin-rpi-raspbian

Apache License 2.0
74 stars 27 forks source link

Fix issues with the shell style CMD format, eg `CMD echo test` #33

Closed Page- closed 8 years ago

Page- commented 8 years ago

I've tested this with CMD echo test, CMD ["echo", "test"], and CMD ["echofail", "test"] and they all work as expected, the only one I'm unsure of is CMD echofail test gives me /bin/sh: 1: echofail: not found - however on the latest rpi image it gives test: 1: test: echofail: not found so it seems ok

Page- commented 8 years ago

Pushed another fix such that CMD ["echo test"] now gives Command not found: echo test

petrosagg commented 8 years ago

SGTM