alpine: implement fix/workaround for rpc_pipefs not being mounted in container in some cases
This commit is contained in:
parent
2ac4b483ea
commit
4a7463802e
@ -8,7 +8,7 @@ WORKDIR /root
|
||||
RUN mkdir -p /run/openrc
|
||||
RUN touch /run/openrc/softlevel
|
||||
RUN apk add --no-cache --update openrc
|
||||
RUN apk add --no-cache --update --verbose tzdata bash krb5-server nfs-utils krb5-server-openrc krb5 syslog-ng chrony
|
||||
RUN apk add --no-cache --update --verbose tzdata bash krb5-server nfs-utils krb5-server-openrc krb5 syslog-ng chrony nfs-utils-openrc
|
||||
|
||||
RUN if [ -n "${DEBUG}" ]; then \
|
||||
apk add --no-cache --update iproute2 procps; \
|
||||
@ -18,6 +18,7 @@ RUN rc-update add syslog-ng boot
|
||||
RUN rc-update add krb5kdc default
|
||||
RUN rc-update add krb5kadmind default
|
||||
RUN rc-update add nfs default
|
||||
RUN rc-update add rpc.pipefs boot
|
||||
|
||||
COPY ./common.sh .
|
||||
COPY ./entrypoint.sh .
|
||||
|
||||
@ -72,7 +72,9 @@ OPTS_RPC_NFSD="--debug --syslog"
|
||||
EXPORTFS_TIMEOUT=30
|
||||
EOC
|
||||
|
||||
ln -s /var/lib/nfs/rpc_pipefs /run/rpc_pipefs
|
||||
|
||||
rc-service rpc.pipefs restart
|
||||
rc-service krb5kdc start
|
||||
rc-service krb5kadmind start
|
||||
rc-service nfs start
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user