Docker image build from specific version of ubuntu

my docker file is build from ubuntu.

FROM ubuntu:16.04

but i need specific version of ubuntu 16.04.4 or 16.04.3.
because, this is some engineering tool’s requirement.

but docker build cause error.

FROM ubuntu:16.04.4
docker built -t image_name .

Sending build context to Docker daemon 39.42 kB
Step 1/19 : FROM ubuntu:16.04.04
Trying to pull repository Docker
manifest for docker.io/ubuntu:16.04.04 not found

how could i build ubuntu 16.04.4 ?

Hi

it depends on what ubuntu has released of images.

if you check this:
https://hub.docker.com/_/ubuntu?tab=tags&page=1&ordering=last_updated&name=16.04

there is only a 16.04, and no minors of that

1 Like

I also has same requirement, the reason is my Azure durable function with kafka extension works in Ubuntu 20.04.3, not 20.04.4; so one month ago we can create and build 2 services; now when it use 20.04.4, I got error:

(TERM is not set, so the dialog frontend is not usable.)
(Can’t locate Term/ReadLine.pm in @inc (you may need to install the Term::ReadLine module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 /usr/share/perl/5.32 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)

If it’s 20.04.3, there’s no such issue. Is there any solution for this? thanks

Allen