mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Move our labeling of the image to the end
This is so we don't recache all the layers on a version number change
That would be silly😅
This commit is contained in:
parent
553ec0900d
commit
ca78e79076
34
Dockerfile
34
Dockerfile
@ -1,23 +1,6 @@
|
|||||||
FROM ubuntu:20.04
|
FROM ubuntu:20.04
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND="noninteractive"
|
ENV DEBIAN_FRONTEND="noninteractive"
|
||||||
ARG BUILD_DATE
|
|
||||||
ARG BUILD_REF
|
|
||||||
ARG CRAFTY_VER
|
|
||||||
|
|
||||||
# Add meta labels
|
|
||||||
LABEL \
|
|
||||||
maintainer="Zedifus <https://gitlab.com/zedifus>" \
|
|
||||||
org.opencontainers.image.created=${BUILD_DATE} \
|
|
||||||
org.opencontainers.image.revision=${BUILD_REF} \
|
|
||||||
org.opencontainers.image.version=${CRAFTY_VER} \
|
|
||||||
org.opencontainers.image.title="Crafty Controller" \
|
|
||||||
org.opencontainers.image.description="A Game Server Control Panel / Launcher" \
|
|
||||||
org.opencontainers.image.url="https://craftycontrol.com/" \
|
|
||||||
org.opencontainers.image.documentation="https://wiki.craftycontrol.com/" \
|
|
||||||
org.opencontainers.image.source="https://gitlab.com/crafty-controller/crafty-commander" \
|
|
||||||
org.opencontainers.image.vendor="Arcadia Technology, LLC." \
|
|
||||||
org.opencontainers.image.licenses=""
|
|
||||||
|
|
||||||
# Security Patch for CVE-2021-44228
|
# Security Patch for CVE-2021-44228
|
||||||
ENV LOG4J_FORMAT_MSG_NO_LOOKUPS=true
|
ENV LOG4J_FORMAT_MSG_NO_LOOKUPS=true
|
||||||
@ -71,3 +54,20 @@ EXPOSE 25500-25600
|
|||||||
# Start Crafty Commander through wrapper
|
# Start Crafty Commander through wrapper
|
||||||
ENTRYPOINT ["/commander/docker_launcher.sh"]
|
ENTRYPOINT ["/commander/docker_launcher.sh"]
|
||||||
CMD ["-v", "-d", "-i"]
|
CMD ["-v", "-d", "-i"]
|
||||||
|
|
||||||
|
# Add meta labels
|
||||||
|
ARG BUILD_DATE
|
||||||
|
ARG BUILD_REF
|
||||||
|
ARG CRAFTY_VER
|
||||||
|
LABEL \
|
||||||
|
maintainer="Zedifus <https://gitlab.com/zedifus>" \
|
||||||
|
org.opencontainers.image.created=${BUILD_DATE} \
|
||||||
|
org.opencontainers.image.revision=${BUILD_REF} \
|
||||||
|
org.opencontainers.image.version=${CRAFTY_VER} \
|
||||||
|
org.opencontainers.image.title="Crafty Controller" \
|
||||||
|
org.opencontainers.image.description="A Game Server Control Panel / Launcher" \
|
||||||
|
org.opencontainers.image.url="https://craftycontrol.com/" \
|
||||||
|
org.opencontainers.image.documentation="https://wiki.craftycontrol.com/" \
|
||||||
|
org.opencontainers.image.source="https://gitlab.com/crafty-controller/crafty-commander" \
|
||||||
|
org.opencontainers.image.vendor="Arcadia Technology, LLC." \
|
||||||
|
org.opencontainers.image.licenses=""
|
||||||
|
Loading…
Reference in New Issue
Block a user