Skip to content

Commit 143056f

Browse files
phlogistonjohnobnoxxx
authored andcommitted
server: add (initial, experimental) support for ctdb
Include ctdb, some of its supporting scripts and config as well as a version of sambacc that (kinda) understands CTDB. Signed-off-by: John Mulligan <[email protected]>
1 parent 49ea1cd commit 143056f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

images/server/Dockerfile.fedora

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM quay.io/samba.org/sambacc:latest AS builder
2-
ARG SAMBACC_VER=a2cfac7ae49e
3-
ARG SAMBACC_REPO=
2+
ARG SAMBACC_VER=b279787f9550
3+
ARG SAMBACC_REPO=https://github.com/samba-in-kubernetes/sambacc
44

55
# the changeset hash on the next line ensures we get a specifc
66
# version of sambacc. When sambacc actually gets tagged, it should
@@ -13,7 +13,7 @@ MAINTAINER John Mulligan <[email protected]>
1313
ENV SAMBACC_VERSION="0.1"
1414

1515
COPY smb.conf /etc/samba/smb.conf
16-
RUN dnf install -y \
16+
RUN dnf install --setopt=install_weak_deps=False -y \
1717
findutils \
1818
python-pip \
1919
python3-jsonschema \
@@ -23,7 +23,10 @@ RUN dnf install -y \
2323
samba-winbind \
2424
samba-winbind-clients \
2525
tdb-tools \
26+
ctdb \
2627
&& dnf clean all \
28+
&& cp --preserve=all /etc/ctdb/functions /usr/share/ctdb/functions \
29+
&& cp --preserve=all /etc/ctdb/notify.sh /usr/share/ctdb/notify.sh \
2730
&& true
2831

2932
COPY --from=builder \

0 commit comments

Comments
 (0)