9 строки
283 B
Docker
9 строки
283 B
Docker
FROM --platform=${TARGETPLATFORM:-linux/amd64} registry.k8s.io/build-image/distroless-iptables:v0.6.5
|
|
|
|
COPY ./init/init-iptables.sh /bin/
|
|
RUN chmod +x /bin/init-iptables.sh
|
|
# Kubernetes runAsNonRoot requires USER to be numeric
|
|
USER 65532:65532
|
|
|
|
ENTRYPOINT ["./bin/init-iptables.sh"]
|