added binutils

This commit is contained in:
David Andersen 2019-02-28 17:33:30 +00:00
parent 8e7bca222a
commit c0157e19ee

View File

@ -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