Closed beastpu closed 3 years ago
Everythin on Alpine uses libressl by default, so why should we do this switch? You did not provide enough context why this change should be applied.
the alpine version of the base image is 3.14
/ # cat /etc/alpine-release
3.14.0
it contains libretls package which depend on usr/lib/libtls.so.20
# apk info libretls
libretls-3.3.3-r0 description:
port of libtls from libressl to openssl
libretls-3.3.3-r0 webpage:
https://git.causal.agency/libretls/
libretls-3.3.3-r0 installed size:
84 KiB
but LibreSSL 3.3.3 (May 3rd, 2021) conflict libtls.so.20 the error as follow:
ERROR: libressl3.3-libtls-3.3.3-r0: trying to overwrite usr/lib/libtls.so.20 owned by libretls-3.3.3-r0.
ERROR: libressl3.3-libtls-3.3.3-r0: trying to overwrite usr/lib/libtls.so.20.0.3 owned by libretls-3.3.3-r0.
when building a docker image ,the error as follow:
i found the detail error message by run apk fix
Note that in this case, we could replace
libressl-dev libessl
with openssl-dev and everything would probably just work.