Skip to content

Commit c5a65e5

Browse files
committed
docker: Fix lints
Fixes the following lints: - LegacyKeyValueFormat: "LABEL key=value" should be used instead of legacy "LABEL key value" format (line 5) - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 68)
1 parent e64e2b8 commit c5a65e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# this is going to take the most time
33
FROM alpine:3.22 AS builder
44

5-
LABEL org.opencontainers.image.source = "https://github.com/blue-nebula/base"
5+
LABEL org.opencontainers.image.source="https://github.com/blue-nebula/base"
66

77
RUN apk add gcc g++ binutils sdl2-dev zlib-dev perl git wget ca-certificates coreutils \
88
sdl2_image-dev sdl2_mixer-dev psmisc cmake ninja
@@ -65,4 +65,4 @@ EXPOSE 28799/udp 28800/udp 28801/udp 28802/udp
6565

6666
ENTRYPOINT ["/sbin/tini", "--"]
6767

68-
CMD dockerize -template /servinit.tmpl:/blue-nebula/.blue-nebula/servinit.cfg install/bin/blue-nebula_server_linux
68+
CMD ["dockerize", "-template", "/servinit.tmpl:/blue-nebula/.blue-nebula/servinit.cfg", "install/bin/blue-nebula_server_linux"]

0 commit comments

Comments
 (0)