Skip to content

Commit 6740e2a

Browse files
obnoxxxphlogistonjohn
authored andcommitted
images: work around missing nsswitch.conf in opensuse server image
Signed-off-by: Michael Adam <[email protected]>
1 parent 4630978 commit 6740e2a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

images/ad-server/Containerfile.opensuse

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ RUN zypper --non-interactive install --no-recommends \
3737
zypper clean;
3838
RUN ln -sf /usr/share/sambacc/examples/addc.json /etc/samba/container.json
3939
RUN rm -rf /etc/samba/smb.conf
40+
RUN cp /usr/etc/nsswitch.conf /etc/nsswitch.conf
4041

4142

4243
ENV SAMBACC_CONFIG="/etc/samba/container.json:/etc/samba/users.json"

images/server/Containerfile.opensuse

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ RUN zypper --non-interactive install --no-recommends \
3535
sambacc && \
3636
zypper clean;
3737
RUN ln -sf /usr/share/sambacc/examples/minimal.json /etc/samba/container.json
38+
RUN cp /usr/etc/nsswitch.conf /etc/nsswitch.conf
39+
40+
3841

3942

4043
VOLUME ["/share"]

0 commit comments

Comments
 (0)