mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-12-26 10:58:22 +01:00
added binutils
This commit is contained in:
parent
8e7bca222a
commit
c0157e19ee
@ -18,7 +18,7 @@ ENV PORT=34197 \
|
|||||||
SCRIPTOUTPUT=/factorio/script-output
|
SCRIPTOUTPUT=/factorio/script-output
|
||||||
|
|
||||||
RUN mkdir -p /opt /factorio && \
|
RUN mkdir -p /opt /factorio && \
|
||||||
apk add --update --no-cache pwgen su-exec && \
|
apk add --update --no-cache pwgen su-exec binutils && \
|
||||||
apk add --update --no-cache --virtual .build-deps curl && \
|
apk add --update --no-cache --virtual .build-deps curl && \
|
||||||
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 && \
|
||||||
@ -34,10 +34,6 @@ RUN mkdir -p /opt /factorio && \
|
|||||||
addgroup -g $PGID -S $GROUP && \
|
addgroup -g $PGID -S $GROUP && \
|
||||||
adduser -u $PUID -G $GROUP -s /bin/sh -SDH $USER && \
|
adduser -u $PUID -G $GROUP -s /bin/sh -SDH $USER && \
|
||||||
chown -R $USER:$GROUP /opt/factorio /factorio
|
chown -R $USER:$GROUP /opt/factorio /factorio
|
||||||
# mkdir -p /opt/factorio/temp && \
|
|
||||||
# chmod 777 -R /opt/factorio/temp && \
|
|
||||||
# mkdir -p /opt/factorio/temp && \
|
|
||||||
# chmod 777 -R /opt/factorio/temp && \
|
|
||||||
|
|
||||||
VOLUME /factorio
|
VOLUME /factorio
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user