Skip to content

Commit 0c56fe3

Browse files
server: support samba version suffix as a container build arg
Signed-off-by: John Mulligan <[email protected]>
1 parent b9a2cf4 commit 0c56fe3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

images/server/Containerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,16 @@ RUN SAMBACC_DISTNAME=latest \
1111

1212
FROM registry.fedoraproject.org/fedora:35
1313
ARG INSTALL_PACKAGES_FROM=default
14+
ARG SAMBA_VERSION_SUFFIX=""
1415
ARG SAMBA_SPECIFICS=daemon_cli_debug_output
1516

1617
MAINTAINER John Mulligan <[email protected]>
1718

1819
COPY smb.conf /etc/samba/smb.conf
1920
COPY install-packages.sh /usr/local/bin/install-packages.sh
20-
RUN /usr/local/bin/install-packages.sh "$INSTALL_PACKAGES_FROM"
21+
RUN /usr/local/bin/install-packages.sh \
22+
"${INSTALL_PACKAGES_FROM}" \
23+
"${SAMBA_VERSION_SUFFIX}"
2124

2225
COPY --from=builder \
2326
/srv/dist/latest \

0 commit comments

Comments
 (0)