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

Installation fails with: Syntax error: "if" unexpected #10

Open
mcapuccini opened this issue Aug 8, 2018 · 1 comment
Open

Installation fails with: Syntax error: "if" unexpected #10

mcapuccini opened this issue Aug 8, 2018 · 1 comment

Comments

@mcapuccini
Copy link

Hi! I am trying to install the nvidia drivers on CoreOS using your container. However when running the container I get the following error:

core@marco-gpu1 ~ $ source /etc/os-release
core@marco-gpu1 ~ $ docker run --rm --privileged --volume /:/rootfs/ srcd/coreos-nvidia:${VERSION}
/bin/sh: 1: Syntax error: "if" unexpected

I think you are missing a ; or a && right after this line: https://github.com/src-d/coreos-nvidia/blob/master/Dockerfile#L103

@mcapuccini
Copy link
Author

This should fix it: #11.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant