Turn off certificate checking in wgetrc

This commit is contained in:
zontreck 2025-06-29 11:11:51 -07:00
parent 3755af9e03
commit b793eb7591
2 changed files with 2 additions and 1 deletions

View file

@ -13,6 +13,7 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment
RUN echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
RUN echo "LANG=en_US.UTF-8" >> /etc/locale.conf
RUN echo "check-certificate = off" >> ~/.wgetrc
RUN apt update; apt-get upgrade -y

View file

@ -4,7 +4,7 @@
download_game() {
local version=$1
local url
local extract_path="/vintagestory_${version}"
local extract_path="~/.local/share/vintagestory_${version}"
# Check if version contains a "-"
if [[ $version == *"-"* ]]; then