From f71e37da9e77b4861a904abc22d397ff8ed542764c4937204d34ffe1dce71395 Mon Sep 17 00:00:00 2001 From: David Mulder Date: Mon, 30 Jan 2023 20:26:10 +0000 Subject: [PATCH] Remove the Dockerfile, use Containerfile OBS-URL: https://build.opensuse.org/package/show/network:samba:CONTAINERS/samba-server?expand=0&rev=4 --- Dockerfile | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index e53e11b..0000000 --- a/Dockerfile +++ /dev/null @@ -1,46 +0,0 @@ -# Defines the tag for OBS and build script builds: -#!BuildTag: opensuse/samba-server:latest -#!BuildTag: opensuse/samba-server:%%MINOR%% -#!BuildTag: opensuse/samba-server:%%PKG_VERSION%% -#!BuildTag: opensuse/samba-server:%%PKG_VERSION%%-%RELEASE% - -FROM opensuse/tumbleweed -LABEL 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.openbuildservice.disturl="%DISTURL%" -LABEL org.opensuse.reference="registry.opensuse.org/opensuse/samba-server:%%PKG_VERSION%%-%RELEASE%" -# endlabelprefix - -COPY smb.conf /etc/samba/smb.conf -RUN zypper --non-interactive install --no-recommends \ - findutils \ - python3-pip \ - python3-jsonschema \ - samba-python3 \ - python3-pyxattr \ - samba \ - samba-winbind \ - tdb-tools \ - ctdb \ - sambacc -RUN ln -sf /usr/share/sambacc/examples/minimal.json /etc/samba/container.json -COPY nsswitch.conf /etc/nsswitch.conf - - -VOLUME ["/share"] - -EXPOSE 445 - -ENV SAMBACC_CONFIG="/etc/samba/container.json:/etc/samba/users.json" -ENV SAMBA_CONTAINER_ID="demo" -ENV SAMBA_SPECIFICS="$SAMBA_SPECIFICS" -ENTRYPOINT ["samba-container"] -CMD ["run", "smbd"] - -# vim:set syntax=dockerfile: