「🏗️」 wip: Need to fix fileEnv func to rm newline at the env

This commit is contained in:
keyzox committed 2025-03-05 20:17:37 +01:00
1 parent 834468e1bd
commit 055ccdc1df
6 files changed
+22 -15

No files matched your search

+3 -1
View File
@@ -11,7 +11,8 @@ COPY internal /build/internal
RUN cd /build \
&& go build git.keyzox.me/42_adjoly/inception/cmd/mariadb/entrypoint \
&& go build git.keyzox.me/42_adjoly/inception/cmd/mariadb/healthcheck
&& go build git.keyzox.me/42_adjoly/inception/cmd/mariadb/healthcheck \
&& go build git.keyzox.me/42_adjoly/inception/cmd/getFileEnv
FROM scratch
ADD docker/alpine/alpine-minirootfs-3.21.2-x86_64.tar.gz /
@@ -24,6 +25,7 @@ RUN addgroup mysql \
COPY --from=builder /build/entrypoint /docker-entrypoint
COPY --from=builder /build/healthcheck /docker-healthcheck
COPY --from=builder /build/getFileEnv /bin/getFileEnv
RUN apk add --no-cache mariadb tzdata mariadb-client \
&& chmod +x /docker-healthcheck \