Commit 965980f3 authored by kaiyou's avatar kaiyou
Browse files

Fix permissions on the entrypoint script

parent 30140465
Pipeline #1394 passed with stage
in 11 minutes and 3 seconds
......@@ -21,7 +21,6 @@ RUN scripts/build \
# Prepare the result image
FROM alpine:latest
RUN apk -U --no-cache add libseccomp iptables ip6tables socat ethtool pigz open-iscsi bash
COPY --from=0 /build/dist/artifacts/k3s /usr/local/bin/k3s
COPY package/entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
COPY --from=0 /build/dist/artifacts/k3s /build/package/entrypoint.sh /usr/local/bin/
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
#!/bin/sh
mount --make-shared /
exec /usr/local/bin/k3s "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment