2.2 More challenging swaps
Container images - More challenging swaps
Adapt Dockerfile
- switch to apk
- user permission ID no longer root, uid=65532
- images set entrypoint explicitly (in python image the entrypoint is python)
- ´docker run-it python´
- ´docker run -it python echo “in a shell”´
- Busy Box as default
- groupadd/useradd -> addgroup, adduser
- entrypoints may be different
Migration Checlist: https://edu.chainguard.dev/chainguard/migration/migration-checklist/ Converter: https://edu.chainguard.dev/chainguard/migration/dockerfile-conversion/