1
0
samba-ad-server/Dockerfile

49 lines
1.6 KiB
Docker
Raw Permalink Normal View History

# 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%
# OBS doesn't allow a fully qualified image registry name for the offline build
FROM opensuse/tumbleweed
ARG SAMBA_SPECIFICS=
MAINTAINER David Mulder <dmulder@suse.com>
# 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="Samba in Kubernetes"
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 \
- Update to version 1682917639.ed539a8: * client: update fedora base version to 37 * ad-server: update fedora base version to 37 * server: update fedora base version to 37 * server: install some vfs packages * ad-server: default to installing sambacc from COPR * server: on centos default to installing sambacc COPR * server: default to installing sambacc from COPR * common: add option to install sambacc from a repo file * common: tweak copr install repo for centos * common: if distdir is empty install sambacc from copr * common: categorize dist files by name * common: rename wheeldir to distdir * github: add ciworkflows for building centos based images * ad-server: update install-sambacc.sh to reuse install-sambacc-common.sh * ad-server: copy in script install-sambacc-common.sh * server: update install-sambacc.sh to reuse install-sambacc-common.sh * server: copy in script install-sambacc-common.sh * gitignore: ignore '.common' dirs * makefile: copy common files into context directory * common: add images/common directory and install-sambacc-common.sh script * images/toolbox: Add CentOS variant of Containerfile * workflows: now we can install directly via make/install-tools.sh use it * makefile: add support for install-tools.sh fetching tools * hack: add a install-tools.sh script for locally installing certain tools * workflows: add a check-commits job * makefile: add check-gitlint rule for checking commits * client: fix missing quote in Containerfile.centos * server: fix missing quote in Containerfile.centos * ad-server: add tdb-tools to installed packages OBS-URL: https://build.opensuse.org/package/show/network:samba:CONTAINERS/samba-ad-server?expand=0&rev=9
2023-05-10 13:29:03 +02:00
tdb-tools \
samba-ad-dc \
procps \
samba-client \
samba-winbind \
python3-dnspython \
krb5-server \
sambacc && \
zypper clean;
RUN ln -sf /usr/share/sambacc/examples/addc.json /etc/samba/container.json
RUN rm -rf /etc/samba/smb.conf
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: