diff --git a/trident-distrowith/dockerfile.patch b/trident-distrowith/dockerfile.patch index bef8e6d..4152562 100644 --- a/trident-distrowith/dockerfile.patch +++ b/trident-distrowith/dockerfile.patch @@ -1,13 +1,17 @@ ---- Dockerfile.original 2024-10-24 19:51:25 -+++ Dockerfile 2024-10-24 19:51:05 -@@ -1,24 +1,13 @@ +--- Dockerfile.original 2024-10-24 20:03:40 ++++ Dockerfile 2024-10-24 20:03:12 +@@ -1,24 +1,15 @@ ARG ARCH=amd64 -FROM --platform=linux/${ARCH} alpine:latest as baseimage -+FROM --platform=linux/${ARCH} alpine:3.20 - - RUN apk add nfs-utils ++FROM --platform=linux/${ARCH} debian:12-slim ++RUN apt update && \ ++ apt install -y \ ++ nfs-common && \ ++ rm -rf /var/lib/apt/lists/* +-RUN apk add nfs-utils +- -#Get the mount.nfs4 dependency -RUN ldd /sbin/mount.nfs4 | tr -s '[:space:]' '\n' | grep '^/' | xargs -I % sh -c 'mkdir -p /nfs-deps/$(dirname %) && cp -L % /nfs-deps/%' -RUN ldd /sbin/mount.nfs | tr -s '[:space:]' '\n' | grep '^/' | xargs -I % sh -c 'mkdir -p /nfs-deps/$(dirname %) && cp -r -u -L % /nfs-deps/%' @@ -25,4 +29,4 @@ - ARG BIN=trident_orchestrator ARG CLI_BIN=tridentctl - ARG CHWRAP_BIN=chwrap.tar + ARG CHWRAP_BIN=chwrap.tar \ No newline at end of file