From f11b6d7f41fd2d4907edb1177dfae8ae45461a20 Mon Sep 17 00:00:00 2001 From: William Miceli Date: Fri, 23 Feb 2024 20:32:10 -0500 Subject: [PATCH] Moved ARG commands down to labels to not clutter RUN commands --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 36ce9f8..767c8f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,5 @@ 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 @@ -53,6 +49,8 @@ VOLUME ["/persistent"] CMD ["/home/steam/satisfactory_server/FactoryServer.sh"] # Labels +ARG DRONE_BUILD_STARTED +ARG DRONE_COMMIT_SHA LABEL org.opencontainers.image.authors="William Miceli; https://github.com/WilliamMiceli; https://williammiceli.me" LABEL org.opencontainers.image.created=$DRONE_BUILD_STARTED LABEL org.opencontainers.image.revision=$DRONE_COMMIT_SHA