mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2024-12-27 02:43:45 +02:00
Merge pull request #265 from OpenFactorioServerManager/use-ubuntu-docker
use ubuntu base image instead of alpine
This commit is contained in:
commit
1275c3045a
@ -1,5 +1,5 @@
|
||||
# Glibc is required for Factorio Server binaries to run
|
||||
FROM frolvlad/alpine-glibc
|
||||
FROM ubuntu
|
||||
|
||||
ENV FACTORIO_VERSION=stable \
|
||||
MANAGER_VERSION=0.10.0 \
|
||||
@ -9,7 +9,7 @@ VOLUME /opt/fsm-data /opt/factorio/saves /opt/factorio/mods /opt/factorio/config
|
||||
|
||||
EXPOSE 80/tcp 34197/udp
|
||||
|
||||
RUN apk add --no-cache curl tar xz unzip jq
|
||||
RUN apt-get update && apt-get install -y curl tar xz unzip jq && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /opt
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Glibc is required for Factorio Server binaries to run
|
||||
FROM frolvlad/alpine-glibc
|
||||
FROM ubuntu
|
||||
|
||||
ENV FACTORIO_VERSION=latest \
|
||||
RCON_PASS=""
|
||||
@ -8,7 +8,7 @@ VOLUME /opt/fsm-data /opt/factorio/saves /opt/factorio/mods /opt/factorio/config
|
||||
|
||||
EXPOSE 80/tcp 34197/udp
|
||||
|
||||
RUN apk add --no-cache curl tar xz unzip jq
|
||||
RUN apt-get update && apt-get install -y curl tar xz-utils unzip jq && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /opt
|
||||
|
||||
|
@ -76,6 +76,7 @@ func CreateSave(filePath string) (string, error) {
|
||||
cmdOutput, err := exec.Command(config.FactorioBinary, args...).Output()
|
||||
if err != nil {
|
||||
log.Printf("Error in creating Factorio save: %s", err)
|
||||
log.Println(string(cmdOutput))
|
||||
return "", err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user