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

Idea: base image as a wrapper over your own custom image #88

Open
atemate opened this issue Feb 19, 2020 · 0 comments
Open

Idea: base image as a wrapper over your own custom image #88

atemate opened this issue Feb 19, 2020 · 0 comments

Comments

@atemate
Copy link
Contributor

atemate commented Feb 19, 2020

Problem: for any arbitrary image, our tricks with tqdm live stream won't work;

We could change how we work with base image to the following:

FROM <your base image, by default: neuromation/base>

# Then goes setup that allows you using your image in Neuro Platform:


# Setup environment for ssh session
RUN echo "export PATH=$PATH" >> /etc/profile 
...
# Create named pipe for stdout+stderr
ENV OUTPUT_PIPE "/output"

## Setup entrypoint
COPY entrypoint.sh /entrypoint.sh

RUN chmod +x /entrypoint.sh
ENTRYPOINT ["bash", "/entrypoint.sh"]
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