Moved ARG commands down to labels to not clutter RUN commands

This commit is contained in:
William Miceli
2024-02-23 20:32:10 -05:00
parent 07499716d4
commit f11b6d7f41

View File

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