Same Dockfile, different docker image
04:07 12 Feb 2026

I have docker files for sample AdventureWorksLT datatbase docker image (MSSQL and Postgres):

https://github.com/openentity/adventureworksltdb

If I build Dockfile locally via Docker Desktop for mssql2022 using command line:

docker build . -t adventureworkslt:mssql2022

The built image size is 2.26GB;

If I build Dockfile via GitHub action:

https://github.com/openentity/adventureworksltdb/actions/workflows/docker-publish.yml

and pull the image from GitHub packages:

docker pull ghcr.io/openentity/adventureworksltdb:mssql2022

the image size is only 1.46MB, apparently not runnable:

enter image description here

What am I doing wrong?

docker github-actions