mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-26 19:08:23 +01:00
parent
7028eb72f6
commit
29ee60236e
@ -20,7 +20,7 @@ ENV PORT=34197 \
|
|||||||
PGID="$PGID"
|
PGID="$PGID"
|
||||||
|
|
||||||
RUN mkdir -p /opt /factorio && \
|
RUN mkdir -p /opt /factorio && \
|
||||||
apk add --update --no-cache pwgen su-exec binutils gettext libintl shadow curl jq && \
|
apk add --update --no-cache pwgen su-exec binutils gettext libintl shadow curl jq bash && \
|
||||||
curl -sSL "https://www.factorio.com/get-download/$VERSION/headless/linux64" \
|
curl -sSL "https://www.factorio.com/get-download/$VERSION/headless/linux64" \
|
||||||
-o /tmp/factorio_headless_x64_$VERSION.tar.xz && \
|
-o /tmp/factorio_headless_x64_$VERSION.tar.xz && \
|
||||||
echo "$SHA1 /tmp/factorio_headless_x64_$VERSION.tar.xz" | sha1sum -c && \
|
echo "$SHA1 /tmp/factorio_headless_x64_$VERSION.tar.xz" | sha1sum -c && \
|
||||||
|
@ -35,7 +35,7 @@ if [ "$NRTMPSAVES" -gt 0 ]; then
|
|||||||
rm -f "$SAVES"/*.tmp.zip
|
rm -f "$SAVES"/*.tmp.zip
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $UPDATE_MODS_ON_START ]]; then
|
if [[ ${UPDATE_MODS_ON_START:-} ]]; then
|
||||||
./docker-update-mods.sh
|
./docker-update-mods.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh -x
|
#!/bin/bash -x
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "No argument supplied"
|
echo "No argument supplied"
|
||||||
fi
|
fi
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh -x
|
#!/bin/bash -x
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
echo "No argument supplied"
|
echo "No argument supplied"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user