From 750a7864c375fc1ea29b3cf344f55debc3fd980a6ecf0db9b5324f71b592bc74 Mon Sep 17 00:00:00 2001 From: David Mulder Date: Mon, 30 Jan 2023 22:00:41 +0000 Subject: [PATCH] Fix Dockerfile OBS-URL: https://build.opensuse.org/package/show/network:samba:CONTAINERS/samba-ad-server?expand=0&rev=3 --- Containerfile | 42 ------------------------------------------ _service | 23 +++++++++++++---------- _servicedata | 2 +- 3 files changed, 14 insertions(+), 53 deletions(-) delete mode 100644 Containerfile diff --git a/Containerfile b/Containerfile deleted file mode 100644 index 7891e26..0000000 --- a/Containerfile +++ /dev/null @@ -1,42 +0,0 @@ -# Defines the tag for OBS and build script builds: -#!BuildTag: opensuse/samba-ad-server:latest -#!BuildTag: opensuse/samba-ad-server:%%MINOR%% -#!BuildTag: opensuse/samba-ad-server:%%PKG_VERSION%% -#!BuildTag: opensuse/samba-ad-server:%%PKG_VERSION%%-%RELEASE% - -FROM opensuse/tumbleweed -LABEL maintainer="David Mulder " - -# labelprefix=org.opensuse.samba-ad-server -LABEL org.opencontainers.image.title="Samba ADDC container" -LABEL org.opencontainers.image.description="Samba ADDC 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-ad-server:%%PKG_VERSION%%-%RELEASE%" -# endlabelprefix - -RUN zypper --non-interactive install --no-recommends \ - findutils \ - python3-pip \ - python3-jsonschema \ - samba-python3 \ - python3-pyxattr \ - samba-ad-dc \ - procps \ - samba-client \ - samba-winbind \ - python3-dnspython \ - krb5-server \ - sambacc -RUN ln -sf /usr/share/sambacc/examples/addc.json /etc/samba/container.json - - -ENV SAMBACC_CONFIG="/etc/samba/container.json:/etc/samba/users.json" -ENV SAMBA_CONTAINER_ID="demo" -ENV SAMBA_SPECIFICS="$SAMBA_SPECIFICS" -ENTRYPOINT ["samba-dc-container"] -CMD ["run", "--setup=provision", "--setup=populate"] - -# vim:set syntax=dockerfile: diff --git a/_service b/_service index 2772e86..83ca8e1 100644 --- a/_service +++ b/_service @@ -1,26 +1,29 @@ - + git https://github.com/openSUSE/samba-container.git master - images/ad-server - Containerfile enable + samba-container + .git - - git - https://github.com/openSUSE/samba-container.git - master - LICENSE + + *.tar + */images/ad-server/Containerfile + Dockerfile + + + *.tar + */LICENSE - Containerfile + Dockerfile %%PKG_VERSION%% patch samba-ad-server - Containerfile + Dockerfile %%MINOR%% minor samba-ad-server diff --git a/_servicedata b/_servicedata index 212447d..cb18b42 100644 --- a/_servicedata +++ b/_servicedata @@ -3,4 +3,4 @@ https://github.com/openSUSE/samba-container.git 602a44991137144e1cda297069fdb961268ef499 - \ No newline at end of file +