kylemanna / docker-openvpn

🔒 OpenVPN server in a Docker container complete with an EasyRSA PKI CA
https://hub.docker.com/r/kylemanna/openvpn/
MIT License
8.62k stars 2.37k forks source link

Base image aarch64/alpine is deprecated #665

Open mpeter50 opened 2 years ago

mpeter50 commented 2 years ago

I was going to build the container for a 32 bit ARM device (a raspberry Pi 4), and while troubleshooting I came across the deprecation notice on the Docker Hub page of the image you use in the Dockerfile.aarch64 file. Since the organization itself was deprecated, they recommend switching to the images of either the arm32v7 or arm64v8 organization. The alpine images for the popular ARM architetures as of now are:

The image currently used was last updated 4 years ago, so I think it would be important to fix the Dockerfile for ARM. Since the 32 bit and 64 bit architecture version of Alpine is now different, I think it might be a good idea to create a Dockerfile.arm32v7 and a Dockerfile.arm64v8 file instead of keeping them as one file.

If someone wants to use ARM architecture, I think it's also highly probable that they want to use the container on a Raspberry Pi. On this platform, there is one more problem that is described here and here. I think it might be a good idea to mention this in the README.MD and in the ARM specific dockerfiles in comments.

mazzy89 commented 2 years ago

I'm using the image in Home Assistant running on a Raspberry PI 4 and I made the same consideration. However I haven't tried whether a simple change of the base would work but it's something I would like to check.

ravz commented 2 years ago

this is a problem for me trying to run rabbitmq 3.9-management docker image on Raspberry Pi 4. Gives this error: clock_gettime(CLOCK_MONOTONIC, _) failed: Operation not permitted (1)