I have installed openvpn into a corretto docker image thusly:
FROM amazoncorretto RUN amazon-linux-extras install epel RUN yum -y install p7zip openvpn