fix copy entrypoint

This commit is contained in:
mbecker20
2025-10-18 22:07:16 -07:00
parent 4279e46892
commit c3eb386bdb
11 changed files with 9 additions and 16 deletions

View File

@@ -16,7 +16,7 @@ FROM gcr.io/distroless/cc
COPY --from=builder /builder/target/release/km /usr/local/bin/km
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
COPY ./bin/cli/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
ENV KOMODO_CLI_CONFIG_PATHS="/config"

View File

@@ -20,7 +20,7 @@ COPY --from=aarch64 /km /app/arch/linux/arm64
ARG TARGETPLATFORM
RUN mv /app/arch/${TARGETPLATFORM} /usr/local/bin/km && rm -r /app/arch
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
COPY ./bin/cli/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
ENV KOMODO_CLI_CONFIG_PATHS="/config"

View File

@@ -9,7 +9,7 @@ FROM gcr.io/distroless/cc
COPY --from=binaries /km /usr/local/bin/km
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
COPY ./bin/cli/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
ENV KOMODO_CLI_CONFIG_PATHS="/config"

View File

@@ -48,7 +48,7 @@ RUN mkdir /action-cache && \
cd /action-cache && \
deno install jsr:@std/yaml jsr:@std/toml
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
COPY ./bin/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
# Hint at the port

View File

@@ -44,7 +44,7 @@ RUN mkdir /action-cache && \
cd /action-cache && \
deno install jsr:@std/yaml jsr:@std/toml
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
COPY ./bin/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
# Hint at the port

View File

@@ -33,7 +33,7 @@ RUN mkdir /action-cache && \
cd /action-cache && \
deno install jsr:@std/yaml jsr:@std/toml
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
COPY ./bin/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
# Hint at the port

View File

@@ -22,7 +22,7 @@ RUN sh ./debian-deps.sh && rm ./debian-deps.sh
COPY --from=builder /builder/target/release/periphery /usr/local/bin/periphery
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
COPY ./bin/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
EXPOSE 8120

View File

@@ -1,7 +0,0 @@
#!/bin/bash
## Update certificates.
update-ca-certificates
## Let the actual command take over
exec "$@"

View File

@@ -25,7 +25,7 @@ COPY --from=aarch64 /periphery /app/arch/linux/arm64
ARG TARGETPLATFORM
RUN mv /app/arch/${TARGETPLATFORM} /usr/local/bin/periphery && rm -r /app/arch
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
COPY ./bin/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
EXPOSE 8120

View File

@@ -14,7 +14,7 @@ RUN sh ./debian-deps.sh && rm ./debian-deps.sh
COPY --from=binaries /periphery /usr/local/bin/periphery
COPY ./entrypoint.sh /usr/local/bin/entrypoint.sh
COPY ./bin/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
EXPOSE 8120