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

Dockerfile error #262

Open
limhasic opened this issue Nov 30, 2023 · 1 comment
Open

Dockerfile error #262

limhasic opened this issue Nov 30, 2023 · 1 comment
Labels
bug Something isn't working new Automatic label applied to new issues

Comments

@limhasic
Copy link

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"]

@limhasic limhasic added bug Something isn't working new Automatic label applied to new issues labels Nov 30, 2023
@limhasic limhasic reopened this Nov 30, 2023
@limhasic
Copy link
Author

and no git installed so failed make comile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new Automatic label applied to new issues
Projects
None yet
Development

No branches or pull requests

1 participant