Skip to content

Commit 05e55d1

Browse files
authored
Fixes alpine-based build
1 parent 43e5d56 commit 05e55d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ RUN --mount=type=secret,id=activation_key,env=ACTIVATION_KEY \
1414
then apk add nfs-utils; \
1515
else subscription-manager register --activationkey $ACTIVATION_KEY --org $ORGANIZATION && \
1616
yum install --repo=rhel-9-*-baseos-rpms -y nfs-utils; \
17-
# Copy real certificates
18-
mkdir /real-certs; \
19-
cp -L /etc/ssl/certs/* /real-certs/; \
20-
fi
17+
fi; \
18+
# Copy real certificates \
19+
mkdir /real-certs; \
20+
cp -L /etc/ssl/certs/* /real-certs/;
2121

2222
# Get the mount.nfs4 dependency
2323
RUN ldd /sbin/mount.nfs4 | tr -s '[:space:]' '\n' | grep '^/' | xargs -I % sh -c 'mkdir -p /nfs-deps/$(dirname %) && cp -L % /nfs-deps/%'

0 commit comments

Comments
 (0)