mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-25 18:38:22 +01:00
parent
7028eb72f6
commit
29ee60236e
@ -20,7 +20,7 @@ ENV PORT=34197 \
|
||||
PGID="$PGID"
|
||||
|
||||
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" \
|
||||
-o /tmp/factorio_headless_x64_$VERSION.tar.xz && \
|
||||
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
|
||||
fi
|
||||
|
||||
if [[ $UPDATE_MODS_ON_START ]]; then
|
||||
if [[ ${UPDATE_MODS_ON_START:-} ]]; then
|
||||
./docker-update-mods.sh
|
||||
fi
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh -x
|
||||
#!/bin/bash -x
|
||||
if [ -z "$1" ]; then
|
||||
echo "No argument supplied"
|
||||
fi
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh -x
|
||||
#!/bin/bash -x
|
||||
if [ -z "$1" ]; then
|
||||
echo "No argument supplied"
|
||||
fi
|
||||
|
@ -12,7 +12,7 @@ print_step()
|
||||
echo "$1"
|
||||
}
|
||||
|
||||
print_success()
|
||||
print_success()
|
||||
{
|
||||
echo "$1"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user