Actions
action #88317
closedcoordination #90086: [epic] Refactor container tests
When building a Dockerfile, specify variable FROM
Start date:
2021-01-28
Due date:
% Done:
80%
Estimated time:
Tags:
Actions
coordination #90086: [epic] Refactor container tests
Added by pdostal almost 4 years ago. Updated 3 months ago.
80%
Right now, there are two dockerfiles:
Dockerfile.suse
using FROM $base
dockerfile.python3
using FROM python3
Those docker files are prepared in container_set_up()
subroutine.
Then, in build_img()
subroutine, the $registry/library/python:3
is pulled.
And finally, still in build_img()
subroutine the docker file is built.
I think that the container_set_up()
is OK and was done by @ybonatakis, but build_img()
can still be improved.
pdostal wrote:
I think that the
container_set_up()
is OK and was done by @ybonatakis, butbuild_img()
can still be improved.
Improved in a way that in build_img()
we pull the image the Dockerfile
is based on as it is not always python:3
.
This has been done by Yiannis.