diff --git a/tarkov/v4.0.11/Dockerfile b/tarkov/v4.0.11/Dockerfile
index 1a4560d..9bc5d37 100644
--- a/tarkov/v4.0.11/Dockerfile
+++ b/tarkov/v4.0.11/Dockerfile
@@ -4,16 +4,17 @@ LABEL author="Kyle Speight" maintainer="chillcog3142@proton.me"
ENV DEBIAN_FRONTEND=noninteractive
-# 1. Install prerequisites
+# 1. CRITICAL: Install CA Certificates and GPG tools FIRST
+# This fixes the "exit code 100" (SSL/Download failure)
RUN apt-get update && apt-get install -y \
- apt-transport-https \
ca-certificates \
+ gnupg \
+ lsb-release \
wget \
curl \
- lsb-release \
&& rm -rf /var/lib/apt/lists/*
-# 2. Install .NET SDK (Dynamic version detection)
+# 2. Install .NET SDK
RUN wget -q https://dot.net/v1/dotnet-install.sh \
&& chmod +x dotnet-install.sh \
&& D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/9.0 | grep -i '
SDK 9.*.*
' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \
@@ -21,14 +22,14 @@ RUN wget -q https://dot.net/v1/dotnet-install.sh \
&& ln -s /usr/share/dotnet /usr/bin/dotnet \
&& rm dotnet-install.sh
-# 3. Install PowerShell (HARDCODED to Ubuntu 22.04 for stability)
-# This works on Ubuntu 20.04, 22.04, and 24.04
+# 3. Install PowerShell (Using the Ubuntu 22.04 repo)
+# We add the repo manually to ensure it's correct
RUN wget -q https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb \
&& dpkg -i packages-microsoft-prod.deb \
&& rm packages-microsoft-prod.deb \
+ # Force update again to ensure the new repo is picked up
&& apt-get update \
- && apt-get install -y powershell \
- && rm -rf /var/lib/apt/lists/*
+ && apt-get install -y powershell
# 4. Install remaining dependencies
RUN apt-get update && apt-get install -y \