I am a new user of winehq. I am trying to install wine into a docker container.
Below is the contents of my dockerfile
Code: Select all
FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base
RUN apt-get update -y && \
apt-get install -y --no-install-recommends \
software-properties-common \
ca-certificates \
wget
# Add Wine repository and install Wine
RUN dpkg --add-architecture i386 && \
mkdir -pm755 /etc/apt/keyrings && \
wget -O /etc/apt/keyrings/winehq-archive.key --no-check-certificate https://dl.winehq.org/wine-builds/winehq.key && \
wget -NP /etc/apt/sources.list.d/ --no-check-certificate https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources && \
apt-get update -y && \
apt-get install -y --install-recommends winehq-stable
10.47 W: Failed to fetch https://dl.winehq.org/wine-builds/ubunt ... /InRelease Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 151.101.158.217 443]
Can I please get some assistance or directions in this regard?
Thanks in advance