Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scripts that build Codenvy CLI and other images fail on Ubuntu 16.04 #1485

Closed
garagatyi opened this issue Jan 5, 2017 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@garagatyi
Copy link
Contributor

When I try to build Codenvy CLI image on my system I get errors like this:

✔  16:52 ~/workspace/codenvy/dockerfiles/cli [ master ↓·1↑·17 | ⚑ 3 ] $ ./build.sh
./build.sh: 16: ./build.sh: [[: not found
Building Docker Image codenvy/cli from /home/gaal/workspace/codenvy/dockerfiles/cli directory with tag 
invalid argument "codenvy/cli:" for t: Error parsing reference: "codenvy/cli:" is not a valid repository/tag
See 'docker build --help'.
Failure when building docker image codenvy/cli:

✔  16:52 ~/workspace/codenvy/dockerfiles/cli [ master ↓·1↑·17 | ⚑ 3 ] $ 

Looks like it uses default shell (which is dash in my case I suppose) but syntax if [[ ]]; then is unsupported.

Codenvy version: 5.0.0-Snapshot
OS and version: Ubuntu 16.04

Other questions:
Problem can be reliably reproduced: [Yes]

benoitf added a commit that referenced this issue Jan 9, 2017
Fix #1485

Change-Id: I04dc3e941f99e2afcb3ddca448b3cf8e509d5d43
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
@benoitf
Copy link
Contributor

benoitf commented Jan 9, 2017

Fix provided by PR #1494

@benoitf benoitf closed this as completed in fc00a50 Jan 9, 2017
@benoitf benoitf added this to the 5.1.0 milestone Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants