Skip to content

Commit

Permalink
Merge pull request #5 from GamerBene19/master
Browse files Browse the repository at this point in the history
Update to latest alpine version (3.20)
  • Loading branch information
xZero707 authored Feb 22, 2025
2 parents b51f246 + abe4f76 commit 827cd50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ COPY ["./entrypoint.sh", "/usr/local/bin/"]


# Main image
FROM alpine:3.15
FROM alpine:3.20

# http://wiki.linux-nfs.org/wiki/index.php/Nfsv4_configuration
RUN set -eux \
&& apk --update --no-cache add bash nfs-utils \
&& apk --update --no-cache add libcap bash nfs-utils \
&& rm -rfv /etc/idmapd.conf /etc/exports \
&& mkdir -p /var/lib/nfs/rpc_pipefs \
&& mkdir -p /var/lib/nfs/v4recovery \
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ boot_helper_mount() {
boot_helper_get_version_flags() {

local -r requested_version="${state[$STATE_NFS_VERSION]}"
local flags=('--nfs-version' "$requested_version" '--no-nfs-version' 2)
local flags=('--nfs-version' "$requested_version")

if ! is_nfs3_enabled; then
flags+=('--no-nfs-version' 3)
Expand Down

0 comments on commit 827cd50

Please sign in to comment.