Tuesday, 9 November 2021

Which version of alpine linux package will be installed?

Assume you have this docker file. You may wonder what version of bash will be installed.


FROM alpine:3.19
RUN apk --update add apache2 bash

The pakage version depends on alpine version. We can go to Alpine Linux packages to find out.

How to find alpine version inside docker container based on alpine linux

// log into container
cat /etc/alpine-release

No comments:

Post a Comment