Skip to content

Commit b4d9c72

Browse files
phlogistonjohnobnoxxx
authored andcommitted
server: accept build args to customize the sambacc build
To make it simpler to develop and test changes to sambacc in the server image, allow the use of build args specifying the version/tag/hash and repo from which to build the sambacc wheel. Signed-off-by: John Mulligan <[email protected]>
1 parent 42855e3 commit b4d9c72

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

images/server/Dockerfile.fedora

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
FROM quay.io/samba.org/sambacc:latest AS builder
2+
ARG SAMBACC_VER=a2cfac7ae49e
3+
ARG SAMBACC_REPO=
24

35
# the changeset hash on the next line ensures we get a specifc
46
# version of sambacc. When sambacc actually gets tagged, it should
57
# be changed to use the tag.
6-
RUN /usr/local/bin/build.sh a2cfac7ae49e
8+
RUN /usr/local/bin/build.sh ${SAMBACC_VER} ${SAMBACC_REPO}
79

810
FROM fedora
911

0 commit comments

Comments
 (0)