Skip to content

Dockerfile error #262

@limhasic

Description

@limhasic

Check spacing: Check the spacing and escape characters in the next line of the COPY command. Errors may occur if the location of spaces and the use of escape characters in lines connected with && \ are incorrect.

dockerfile
Copy code
RUN mkdir /SDGym &&
mkdir /SDGym/sdgym &&
# ...

have to be

FROM nvidia/cuda:11.8.0-devel-ubuntu22.04
CMD nvidia-smi

RUN apt-get update && apt-get install -y build-essential curl python3.9 python3-pip
python3-distutils && ln -s /usr/bin/python3.9 /usr/bin/python

RUN mkdir /SDGym
RUN mkdir /SDGym/sdgym

Copy code

COPY setup.py README.md HISTORY.md MANIFEST.in LICENSE Makefile setup.cfg /SDGym/
COPY /sdgym/ /SDGym/sdgym

WORKDIR /SDGym

Install project

RUN pip install . --no-binary pomegranate
RUN make compile
ENV TF_CPP_MIN_LOG_LEVEL 2

CMD ["echo", "Usage: docker run -ti sdvproject/sdgym sdgym COMMAND OPTIONS"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewAutomatic label applied to new issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions