New AppID. Fixups for ici.de.com environment.
parent
1c96a801e9
commit
a96911b651
|
@ -5,7 +5,14 @@ LABEL maintainer="Didstopia <support@didstopia.com>"
|
|||
# Fixes apt-get warnings
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Install dependencies
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
net-tools && apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Create the volume directories
|
||||
# Create and set the steamcmd folder as a volume
|
||||
RUN mkdir -p /steamcmd/starbound
|
||||
|
||||
# Add the steamcmd installation script
|
||||
|
@ -38,7 +45,7 @@ ENV SKIP_STEAMCMD ""
|
|||
ENV CHOWN_DIRS "/app,/steamcmd"
|
||||
|
||||
# Expose the volumes
|
||||
VOLUME [ "/app.steam", "/steamcmd/starbound" ]
|
||||
VOLUME [ "/app/steam", "/steamcmd/starbound" ]
|
||||
|
||||
# Start the server
|
||||
CMD [ "bash", "/app/start.sh"]
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build -t didstopia/starbound-server:latest .
|
||||
TAG="hub.ici.de.com/starbound-server:latest"
|
||||
|
||||
docker build -t "${TAG}" .
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker build --no-cache -t didstopia/starbound-server:latest .
|
||||
TAG="hub.ici.de.com/starbound-server:latest"
|
||||
|
||||
docker build --no-cache -t "${TAG}" .
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
docker tag didstopia/starbound-server:latest didstopia/starbound-server:latest
|
||||
docker push didstopia/starbound-server:latest
|
||||
TAG="hub.ici.de.com/starbound-server:latest"
|
||||
|
||||
docker tag "${TAG}" "${TAG}"
|
||||
docker push "${TAG}"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
./docker_build.sh
|
||||
|
||||
# Run a container
|
||||
docker run -p 0.0.0.0:21025:21025/tcp --env-file .env -v "$(pwd)/starbound_data:/steamcmd/starbound" --name starbound-server -it --rm didstopia/starbound-server:latest
|
||||
docker run -p 0.0.0.0:21025:21025/tcp --env-file .env -v "$(pwd)/starbound_data:/steamcmd/starbound" --name starbound-server -it --rm hub.ici.de.com/starbound-server:latest
|
||||
|
||||
# Edit unit tests
|
||||
#dgoss edit -p 0.0.0.0:21025:21025/tcp --env-file .env -v "$(pwd)/starbound_data:/steamcmd/starbound" --name starbound-server -d didstopia/starbound-server:latest
|
||||
|
|
Loading…
Reference in New Issue