Skip to content

Commit

Permalink
some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
gOOvER committed Apr 28, 2024
1 parent 3e4be93 commit 6abc3fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 0 additions & 7 deletions depotdl/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,6 @@ else
echo -e "${BLUE}---------------------------------------------------------------${NC}"
fi

# Setup NSS Wrapper for use ($NSS_WRAPPER_PASSWD and $NSS_WRAPPER_GROUP have been set by the Dockerfile)
export USER_ID=$(id -u)
export GROUP_ID=$(id -g)
envsubst < /passwd.template > ${NSS_WRAPPER_PASSWD}

export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libnss_wrapper.so

# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
echo -e ":/home/container$ ${MODIFIED_STARTUP}"
Expand Down
6 changes: 4 additions & 2 deletions installers/depotdl/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,10 @@ RUN wget https://packages.microsoft.com/config/debian/12/packages-micros
libgdiplus \
dotnet-sdk-6.0

RUN curl -sLOJ $(curl -s https://api.github.com/repos/SteamRE/DepotDownloader/releases/latest | grep browser_download_url | cut -d\" -f4 | egrep linux-x64.zip)
RUN unzip DepotDownloader-linux-x64.zip -d /usr/local/bin/
# Install DepotDownloader
RUN curl -sLOJ $(curl -s https://api.github.com/repos/SteamRE/DepotDownloader/releases/latest | grep browser_download_url | cut -d\" -f4 | egrep linux-x64.zip)
RUN unzip DepotDownloader-linux-x64.zip -d /usr/local/bin/
RUN chmod +x /usr/local/bin/DepotDownloader

# Set the locale
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
Expand Down

0 comments on commit 6abc3fa

Please sign in to comment.