add user agent to mirror.cloudcraft.info download
This commit is contained in:
parent
ec8926b95c
commit
2cd283515e
@ -12,7 +12,7 @@ RUN APP_ICON_URL=https://stardewcommunitywiki.com/mediawiki/images/4/48/Fiddlehe
|
|||||||
# Game + ModLoader 1.6.2 4.0.1
|
# Game + ModLoader 1.6.2 4.0.1
|
||||||
RUN mkdir -p /data/Stardew && \
|
RUN mkdir -p /data/Stardew && \
|
||||||
mkdir -p /data/nexus && \
|
mkdir -p /data/nexus && \
|
||||||
wget https://mirror.cloudcraft.info/Stardew_Valley_latest.tar.gz -qO /data/latest.tar.gz && \
|
wget --user-agent="Mozilla" https://mirror.cloudcraft.info/Stardew_Valley_latest.tar.gz -qO /data/latest.tar.gz && \
|
||||||
tar xf /data/latest.tar.gz -C /data/Stardew && \
|
tar xf /data/latest.tar.gz -C /data/Stardew && \
|
||||||
rm /data/latest.tar.gz
|
rm /data/latest.tar.gz
|
||||||
|
|
||||||
@ -41,4 +41,4 @@ COPY run /etc/services.d/utils/run
|
|||||||
RUN chmod +x /etc/services.d/utils/run
|
RUN chmod +x /etc/services.d/utils/run
|
||||||
|
|
||||||
COPY docker-entrypoint.sh /startapp.sh
|
COPY docker-entrypoint.sh /startapp.sh
|
||||||
RUN chmod +x /startapp.sh
|
RUN chmod +x /startapp.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user