-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic up-to-date containers using nightly samba builds #45
Comments
IIUC, intention here is to have samba-container images consuming nightly builds created every nightly as part of CentOS CI job(for Fedora & CentOS)? |
From my POV that would be an acceptable approach. The other approach would be to have container builds directly consume samba sources and produce images with samba binaries that way. The former is probably a lot less work in the short term and would probably be preferable until we find we have a need to have customized builds or something. |
I agree. Let's consume our nightly RPMs. The <= 24 hr lag is not a problem. |
I made the following change after realizing that diff --git a/images/server/Dockerfile.fedora b/images/server/Dockerfile.fedora
index 902971a..4eadac9 100644
--- a/images/server/Dockerfile.fedora
+++ b/images/server/Dockerfile.fedora
@@ -1,6 +1,6 @@
FROM quay.io/samba.org/sambacc:latest AS builder
-ARG SAMBACC_VER=a2cfac7ae49e
-ARG SAMBACC_REPO=
+ARG SAMBACC_VER=e3e2a53bea5d
+ARG SAMBACC_REPO=https://github.com/anoopcs9/sambacc.git
# the changeset hash on the next line ensures we get a specifc
# version of sambacc. When sambacc actually gets tagged, it should
@@ -13,6 +13,7 @@ MAINTAINER John Mulligan <jmulligan@redhat.com>
ENV SAMBACC_VERSION="0.1"
COPY smb.conf /etc/samba/smb.conf
+RUN curl http://artifacts.ci.centos.org/gluster/nightly-samba/master/fedora/samba-nightly-master.repo -o /etc/yum.repos.d/samba-nightly-master.repo
RUN dnf install -y \
findutils \
python-pip \ samba-container
client connecting...
|
Great, I'm glad the workaround allows us to use these recent samba builds. We will probably need a longer term strategy to deal with different samba versions in sambacc code. The two ideas I had were to either run a command ( Any thoughts? |
I'm fine with environment variable. Let's go for it. |
I've created an issue in sambacc for this. If you want to work on it please do so, otherwise I'll get to in it in within a few days. |
done for a while. |
=> so that we can easier access upstream changes (new ODJ code, packaging of mutex helpers, etc.)
The text was updated successfully, but these errors were encountered: