airboxlab / rllib-energyplus

Simple EnergyPlus environments for control optimization using reinforcement learning
MIT License
42 stars 8 forks source link

Error on building Docker image #32

Open bbartling opened 3 weeks ago

bbartling commented 3 weeks ago

Hello,

On an Ubuntu VM with Docker Docker version 27.3.1, build ce12230 when running the setup command $ docker build . -f docker/Dockerfile -t rllib-energyplus

This errors out on: ERROR: failed to solve: process "/bin/bash -c apt-get update -qq && apt-get install -y wget git libgomp1 && cd /tmp && wget --quiet \"${EPLUS_DL_URL}\" && export eplus_install=\"$(echo \"${EPLUS_DL_URL}\" | rev | cut -d'/' -f1 | rev)\" && (echo \"y\"; echo \"\"; echo \"y\";) | bash \"$eplus_install\" && rm \"$eplus_install\" && apt-get install -y python3.10 python3.10-dev python3.10-distutils && wget https://bootstrap.pypa.io/get-pip.py && python3.10 get-pip.py && rm get-pip.py && cd /root/rllib-energyplus && grep 'git\\+' requirements.txt > requirements-vcs.txt && grep 'git\\+' -v requirements.txt > requirements-hashed.txt && pip install --no-cache-dir -r requirements-vcs.txt && pip install --no-cache-dir -r requirements-hashed.txt && apt autoremove -qq -y && apt-get clean -qq && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 1

Any ideas to try?

antoine-galataud commented 3 weeks ago

Hi there! Can you try to build in debug mode?

bbartling commented 3 weeks ago

Hello,

Can you send a link on directions for how to do that?

Thanks! Ben

On Mon, Oct 28, 2024, 2:30 PM Antoine Galataud @.***> wrote:

Hi there! Can you try to build in debug mode?

Le 28.10.2024 à 14:36, Ben Bartling @.***> a écrit :



Hello,

On an Ubuntu VM with Docker Docker version 27.3.1, build ce12230 when running the setup command $ docker build . -f docker/Dockerfile -t rllib-energyplus

This errors out on: ERROR: failed to solve: process "/bin/bash -c apt-get update -qq && apt-get install -y wget git libgomp1 && cd /tmp && wget --quiet \"${EPLUS_DL_URL}\" && export eplus_install=\"$(echo \"${EPLUS_DL_URL}\" | rev | cut -d'/' -f1 | rev)\" && (echo \"y\"; echo \"\"; echo \"y\";) | bash \"$eplus_install\" && rm \"$eplus_install\" && apt-get install -y python3.10 python3.10-dev python3.10-distutils && wget https://bootstrap.pypa.io/get-pip.py && python3.10 get-pip.py && rm get-pip.py && cd /root/rllib-energyplus && grep 'git\+' requirements.txt > requirements-vcs.txt && grep 'git\+' -v requirements.txt > requirements-hashed.txt && pip install --no-cache-dir -r requirements-vcs.txt && pip install --no-cache-dir -r requirements-hashed.txt && apt autoremove -qq -y && apt-get clean -qq && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 1

Any ideas to try?

— Reply to this email directly, view it on GitHub< https://github.com/airboxlab/rllib-energyplus/issues/32>, or unsubscribe< https://github.com/notifications/unsubscribe-auth/ABIVP3RUPSDNF5OZX5UKKDTZ5ZDWDAVCNFSM6AAAAABQXSIX3SVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYYTQNRRGM4DQNI>.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/airboxlab/rllib-energyplus/issues/32#issuecomment-2442449627, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHC4BHNS3D7UMR4V4L3SG6TZ52GGJAVCNFSM6AAAAABQXSIX3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBSGQ2DSNRSG4 . You are receiving this because you authored the thread.Message ID: @.***>

antoine-galataud commented 3 weeks ago

Try to build again and check if there are other error traces at the top of the output. If not try adding --progress=plain to your build command to get more info.

bbartling commented 3 weeks ago

Hello,

I've tried a few things with the help of ChatGPT but no luck building the docker image. https://chatgpt.com/share/67212d95-5764-800d-af03-05f6c6683621

Ill try again and copy in that top of the traceback when I am near this VM again.

Thanks