MDSplus / Docker

Docker files for building and/or running MDSplus
http://www.mdsplus.org/
5 stars 4 forks source link

rhel8 Dockerfile problem with Powertools #25

Open tfredian opened 3 years ago

tfredian commented 3 years ago

I was looking into what might be needed to add a test for building the MDSplus php support. To do this I tried modifying the Dockerfile for rhel8 to add the php-devel package. When trying to build the docker image docker build failed with the error:

Error: No matching repo to modify: PowerTools.

This error occurs with the current Dockerfile for rhel8.

It's been quite a while since I played with this stuff so it would not surprise me if I was doing something wrong. I simply cloned MDSplus/Docker and cd'd to Docker/builder/rhel8 and issued the command:

docker build -t mdsplus/builder:rhel8-php .

tfredian commented 3 years ago

Very interesting... I tried doing the yum commands interactively with the centos:8 docker and explored the yum repo. The name of the PowerTools repo was all lowercase powertools! I changed the Dockerfile to use lowercase powertools and the docker image build made it a lot further but failed with:

Curl error (28): Timeout was reached for ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/fedora/linux/releases/28/Everything/x86_64/os/Packages/l/libdc1394-devel-2.2.2-10.fc28.x86_64.rpm [Connection time-out]

What's going on???

joshStillerman commented 3 years ago

Tom -

  Once again, thanks for working on this. I have been working on trying to get a new stable to build and have not had a chance to look at this.  The rhel:latest probably changed out from under itself.  I have to find a better place to get the camera stuff from, or just rip it out.  No one is using it I am sure.

-Josh

On 4/13/21 9:27 AM, Tom Fredian wrote:

I was looking into what might be needed to add a test for building the MDSplus php support. To do this I tried modifying the Dockerfile for rhel8 to add the php-devel package. When trying to build the docker image docker build failed with the error:

Error: No matching repo to modify: PowerTools.

This error occurs with the current Dockerfile for rhel8.

It's been quite a while since I played with this stuff so it would not surprise me if I was doing something wrong. I simply cloned MDSplus/Docker and cd'd to Docker/builder/rhel8 and issued the command:

docker build -t mdsplus/builder:rhel8-php .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MDSplus/Docker/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABY5AZL36QKGWVZH7VZH7G3TIRBCNANCNFSM423LBZLQ.

-- Joshua Stillerman Research Engineer MIT Plasma Science and Fusion Center 617.253.8176 @. @.>