Moved ARG commands down to labels to not clutter RUN commands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user