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