From 29b8139593dad0a0ac6762eea5ac65f7b7a26f009bdaa967a28bbd65d12dd5a7 Mon Sep 17 00:00:00 2001 From: David Mulder Date: Fri, 10 Feb 2023 16:40:30 +0000 Subject: [PATCH] - Update to version 1675868083.94e3130: * toolbox: Add openSUSE specific Containerfile * toolbox: Make Containerfile Fedora specific * client: Add openSUSE specific Containerfile * client: Make Containerfile Fedora specific * ad-server: Add openSUSE specific Containerfile * ad-server: Make Containerfile Fedora specific * server: Add openSUSE specific Containerfile * server: Make Containerfile Fedora specific * github: fix minor "spelling" mistake in mergify rules * workflows: Share samba-client image for building toolbox OBS-URL: https://build.opensuse.org/package/show/network:samba:CONTAINERS/samba-server?expand=0&rev=9 --- Dockerfile | 14 +++++++++----- _service | 7 +++---- _servicedata | 11 ++++++++--- nsswitch.conf | 3 --- samba-server.changes | 15 +++++++++++++++ 5 files changed, 35 insertions(+), 15 deletions(-) delete mode 100644 nsswitch.conf diff --git a/Dockerfile b/Dockerfile index 109a9b7..4fa27bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,15 +4,18 @@ #!BuildTag: opensuse/samba-server:%%PKG_VERSION%% #!BuildTag: opensuse/samba-server:%%PKG_VERSION%%-%RELEASE% +# OBS doesn't allow a fully qualified image registry name for the offline build FROM opensuse/tumbleweed -LABEL maintainer="David Mulder " +ARG SAMBA_SPECIFICS=daemon_cli_debug_output,ctdb_leader_admin_command + +MAINTAINER David Mulder # labelprefix=org.opensuse.samba-server LABEL org.opencontainers.image.title="Samba container" LABEL org.opencontainers.image.description="Samba container" LABEL org.opencontainers.image.created="%BUILDTIME%" LABEL org.opencontainers.image.version="%%PKG_VERSION%%-%RELEASE%" -LABEL org.opencontainers.image.vendor="openSUSE Project" +LABEL org.opencontainers.image.vendor="Samba in Kubernetes" LABEL org.openbuildservice.disturl="%DISTURL%" LABEL org.opensuse.reference="registry.opensuse.org/opensuse/samba-server:%%PKG_VERSION%%-%RELEASE%" # endlabelprefix @@ -28,9 +31,10 @@ RUN zypper --non-interactive install --no-recommends \ samba-winbind \ tdb-tools \ ctdb \ - sambacc + glibc \ + sambacc && \ + zypper clean; RUN ln -sf /usr/share/sambacc/examples/minimal.json /etc/samba/container.json -COPY nsswitch.conf /etc/nsswitch.conf VOLUME ["/share"] @@ -39,7 +43,7 @@ EXPOSE 445 ENV SAMBACC_CONFIG="/etc/samba/container.json:/etc/samba/users.json" ENV SAMBA_CONTAINER_ID="demo" -ENV SAMBA_SPECIFICS="daemon_cli_debug_output" +ENV SAMBA_SPECIFICS="$SAMBA_SPECIFICS" ENTRYPOINT ["samba-container"] CMD ["run", "smbd"] diff --git a/_service b/_service index 63afe74..15f8f47 100644 --- a/_service +++ b/_service @@ -1,7 +1,7 @@ git - https://github.com/openSUSE/samba-container.git + https://github.com/samba-in-kubernetes/samba-container.git master enable samba-container @@ -9,13 +9,12 @@ *.tar - */images/server/Containerfile + */images/server/Containerfile.opensuse Dockerfile *.tar - */images/server/nsswitch.conf - */images/server/smb.conf + */images/server/smb.conf */LICENSE diff --git a/_servicedata b/_servicedata index e976d6e..f780d3d 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,9 @@ - - https://github.com/openSUSE/samba-container.git - 924c983f879afa0ecc8daed3af737f660b84052c \ No newline at end of file + + https://github.com/openSUSE/samba-container.git + 924c983f879afa0ecc8daed3af737f660b84052c + + https://github.com/samba-in-kubernetes/samba-container.git + 94e313043630982eee3d2e63b37038c487f4290b + + diff --git a/nsswitch.conf b/nsswitch.conf deleted file mode 100644 index 357f4d5..0000000 --- a/nsswitch.conf +++ /dev/null @@ -1,3 +0,0 @@ -passwd: compat -group: compat -shadow: compat diff --git a/samba-server.changes b/samba-server.changes index 359cd76..0d4be95 100644 --- a/samba-server.changes +++ b/samba-server.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Feb 10 16:37:22 UTC 2023 - dmulder@suse.com + +- Update to version 1675868083.94e3130: + * toolbox: Add openSUSE specific Containerfile + * toolbox: Make Containerfile Fedora specific + * client: Add openSUSE specific Containerfile + * client: Make Containerfile Fedora specific + * ad-server: Add openSUSE specific Containerfile + * ad-server: Make Containerfile Fedora specific + * server: Add openSUSE specific Containerfile + * server: Make Containerfile Fedora specific + * github: fix minor "spelling" mistake in mergify rules + * workflows: Share samba-client image for building toolbox + ------------------------------------------------------------------- Tue Jan 31 15:31:46 UTC 2023 - dmulder@suse.com