blob: e4a8adc6db64782f123c042140f80e0be110507f [file] [log] [blame]
FROM erichough/nfs-server
COPY exports.txt /etc/exports
# To avoid ownership issues, the user must be the same betweeen the
# server and the client, hence we are creating it explicitly in both.
RUN adduser --disabled-password --gecos "" --uid 1000 gerrit
RUN chown gerrit:gerrit /var/lib/nfs
COPY gerrit-git-mount-entrypoint.sh /usr/local/bin
ENTRYPOINT /usr/local/bin/gerrit-git-mount-entrypoint.sh