Skip to content

Commit 2989298

Browse files
ad-server: update container file to install sambacc from rpm
Signed-off-by: John Mulligan <[email protected]>
1 parent 213c31e commit 2989298

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

images/ad-server/Containerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ COPY install-packages.sh /usr/local/bin/install-packages.sh
1919
RUN /usr/local/bin/install-packages.sh "$INSTALL_PACKAGES_FROM"
2020

2121
COPY --from=builder \
22-
/srv/dist/latest/sambacc-*.whl \
23-
/tmp/
22+
/srv/dist/latest \
23+
/tmp/sambacc-dist-latest
2424
COPY install-sambacc.sh /usr/local/bin/install-sambacc.sh
2525
RUN /usr/local/bin/install-sambacc.sh \
26-
"/tmp" "/usr/local/share/sambacc/examples/addc.json"
26+
"/tmp/sambacc-dist-latest" \
27+
&& rm -rf /tmp/sambacc-dist-latest
2728

2829

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

0 commit comments

Comments
 (0)