Closed rodrigomelo9 closed 3 years ago
Done @eine. I did my best based on your revision. I left some open conversations when not sure about the result.
Done @eine. Running ./run.sh -c centos 7
and ./run.sh -c centos 8
, it finishes without problems. Let me know the next steps :-D
Nice! The next step is adding two entries to the matrix in https://github.com/ghdl/docker/blob/master/.github/workflows/test.yml#L35. That's the workflow that will use the build
and run
images for building GHDL.
I am unsure about run
images not containing GNAT. I think it might be necessary to copy /opt/gnat/bin
. We'll see...
Pushed. I tried an example using ghdl/run:centos7-gcc
and ghdl/run:centos8-gcc
and in both cases: ghdl: command not found
. Is it because there are missing steps or could be related to not containing GNAT?
Pushed. I tried an example using
ghdl/run:centos7-gcc
andghdl/run:centos8-gcc
and in both cases:ghdl: command not found
. Is it because there are missing steps or could be related to not containing GNAT?
The procedure is as follows:
ghdl/build:*
image and build GHDL inside. Generate a tarball.ghdl/ghdl:*
based on ghdl/run:*
and install/extract the tarball.ghdl/ghdl:*
and run the testsuite.ghdl/ghdl:*
.Therefore, ghdl/run:
images do never contain GHDL. They contain the runtime dependencies only. ghdl/ghdl
images are the ones that have GHDL on top of the run images.
Anywa, I will merge this now and we'll see. I expect some minor issues to arise, but we'll deal with them in some other PR.
Hi @eine. This Dockerfile builds GHDL for Centos7 (and also Centos8, commented). Ready to iterate with you guidance :-)