Skip to content

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

@mcapuccini

Description

@mcapuccini

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions