I'm creating minimalistic ubuntu os image for Azure and in the Docker file I'm trying to pull the tar and build it from scratch ( "FROM scratch.."). I see there are various tar available here and not sure which one should I be used - http://cloud-images.ubuntu.com/minimal/releases/bionic/release-20201210/. Need some advice on this.
according to https://ubuntu.com/blog/minimal-ubuntu-released
On Dockerhub, the new Ubuntu 18.04 LTS image is now the new Minimal Ubuntu 18.04 image. Launching a Docker instance with docker run ubuntu:18.04 therefore launches a Docker instance with the latest Minimal Ubuntu.
you can find the docker hub for ubuntu here : https://hub.docker.com/_/ubuntu
for 18.04 this is the dockerfile ubuntu uses to build the docker image (lcick on bionic in this page)
https://github.com/tianon/docker-brew-ubuntu-core/blob/74249faf47098bef2cedad89696bfd1ed521e019/bionic/Dockerfile
i.e.