Updated Dockerfile to bring in specific environment variables

This commit is contained in:
William Miceli
2024-02-23 19:37:01 -05:00
parent 7aa8826f20
commit 07499716d4
2 changed files with 12 additions and 10 deletions

View File

@@ -1,5 +1,9 @@
FROM docker.io/library/ubuntu:24.04
# Importing Environment Variables
ARG DRONE_BUILD_STARTED
ARG DRONE_COMMIT_SHA
# Avoid prompts from apt
ENV DEBIAN_FRONTEND=noninteractive
@@ -50,6 +54,6 @@ CMD ["/home/steam/satisfactory_server/FactoryServer.sh"]
# Labels
LABEL org.opencontainers.image.authors="William Miceli; https://github.com/WilliamMiceli; https://williammiceli.me"
LABEL org.opencontainers.image.source=https://github.com/WilliamMiceli/Docker_Satisfactory-Server
LABEL org.opencontainers.image.revision=$DRONE_COMMIT_SHA
LABEL org.opencontainers.image.created=$DRONE_BUILD_STARTED
LABEL org.opencontainers.image.revision=$DRONE_COMMIT_SHA
LABEL org.opencontainers.image.source=https://github.com/WilliamMiceli/Docker_Satisfactory-Server