Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vizhestkov:saline-images-uyuni-master-clean
server-saline-image
Dockerfile
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File Dockerfile of Package server-saline-image
# SPDX-License-Identifier: MIT #!BuildTag: uyuni/server-saline:2024.10 uyuni/server-saline:2024.10.%RELEASE% uyuni/server-saline:latest ARG BASE=registry.suse.com/bci/bci-base:15.6 FROM $BASE as base RUN groupadd -r --gid 10554 salt && \ useradd -r -s /usr/sbin/nologin -g salt -d /var/lib/salt --uid 10554 salt # Main packages RUN zypper ref && zypper --non-interactive up RUN zypper --gpg-auto-import-keys --non-interactive install --auto-agree-with-licenses --force-resolution saline python3-saline && zypper clean --all #RUN mkdir /etc/saline.defaults && cp -r /etc/salt/saline* /etc/saline.defaults/ #RUN chown -R salt:salt /etc/saline.defaults COPY prepare_target.sh /prepare_target.sh RUN bash /prepare_target.sh && rm /prepare_target.sh # Define slim image ARG BASE=registry.suse.com/bci/bci-base:15.6 FROM $BASE AS slim ARG PRODUCT=Uyuni ARG VENDOR="Uyuni project" ARG URL="https://www.uyuni-project.org/" ARG REFERENCE_PREFIX="registry.opensuse.org/uyuni" ARG PRODUCT_VERSION="2024.06" RUN groupadd -r --gid 10554 salt && \ useradd -r -s /usr/sbin/nologin -g salt -d /var/lib/salt --uid 10554 salt COPY --from=base /target / # Build Service required labels # labelprefix=org.opensuse.uyuni.server-saline LABEL org.opencontainers.image.title="${PROJECT} server saline container" LABEL org.opencontainers.image.description="Image contains a ${PRODUCT} server component to extend Salt capabilities" LABEL org.opencontainers.image.created="%BUILDTIME%" LABEL org.opencontainers.image.vendor="${VENDOR}" LABEL org.opencontainers.image.url="${URL}" LABEL org.opencontainers.image.name=server-saline-image LABEL org.opencontainers.image.version=5.0.6 LABEL org.openbuildservice.disturl="%DISTURL%" LABEL org.opensuse.reference="${REFERENCE_PREFIX}/salt-saline:${PRODUCT_VERSION}.%RELEASE%" # endlabelprefix LABEL org.uyuni.version="${PRODUCT_VERSION}" # Saline EXPOSE 8216/tcp COPY cleanup.sh /cleanup.sh RUN bash /cleanup.sh && rm /cleanup.sh COPY run_saline.sh /run_saline.sh RUN chmod +x /run_saline.sh CMD /run_saline.sh
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor