Using permanent docker images through a dockerfile

Hey All,

I am using ‘million12/nginx-php’ docker image
And it has several dependencies.
I am deploying to aws beanstalk with a dockerfile containing:
FROM million12/nginx-php:latest
I don’t want to be dependent on latest versions and want to
set permanent versions for this image and the images in inherits from.
I’ve thought of doing so with amazon ec2 container service
and somehow redirect my dockerfile to amazon repository.

Would love some guidance.