-1

Does the official alpine docker image bundle OpenSSL.

I created a new container locally and I can't find the openssl command.

Is there an official doco with everything that's installed by default? I couldn't find it on the alpine website?

Nikolay
  • 107
  • 1
  • 2

2 Answers2

3

Just install it.

apk add openssl

apk can also show you all installed packages.

apk list -I
Gerald Schneider
  • 23,274
  • 8
  • 57
  • 89
1

tldr: no

There's no documentation as far as i'm aware, but there's a build script. For container images, the following packages are included by default: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/scripts/mkimg.minirootfs.sh#L24

One can also inspect container images for what's included by exploring layer contents. I find dive to be a neat tool for that purpose.

sliwkr
  • 11
  • 1