forked from pool/rmt-server-image
[info=83b471d6c291d6040f677f2233d230da]
OBS-URL: https://build.opensuse.org/package/show/devel:BCI:Tumbleweed/rmt-server-image?expand=0&rev=4
This commit is contained in:
parent
85b48ae868
commit
26ef937a9a
12
Dockerfile
12
Dockerfile
@ -1,7 +1,8 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#!BuildTag: opensuse/rmt-server:2.8
|
||||
#!BuildTag: opensuse/rmt-server:%%rmt_version%%
|
||||
#!BuildTag: opensuse/rmt-server:latest
|
||||
#!BuildTag: opensuse/rmt-server:2.8-%RELEASE%
|
||||
#!BuildTag: opensuse/rmt-server:%%rmt_version%%-%RELEASE%
|
||||
|
||||
FROM opensuse/tumbleweed:latest
|
||||
|
||||
MAINTAINER openSUSE (https://www.opensuse.org/)
|
||||
@ -10,21 +11,20 @@ MAINTAINER openSUSE (https://www.opensuse.org/)
|
||||
# labelprefix=org.opensuse.application.rmt-server
|
||||
LABEL org.opencontainers.image.title="openSUSE Tumbleweed RMT Server Container Image"
|
||||
LABEL org.opencontainers.image.description="SUSE RMT Server based on the SLE Base Container Image."
|
||||
LABEL org.opencontainers.image.version="2.8"
|
||||
LABEL org.opencontainers.image.version="%%rmt_version%%"
|
||||
LABEL org.opencontainers.image.url="https://www.opensuse.org"
|
||||
LABEL org.opencontainers.image.created="%BUILDTIME%"
|
||||
LABEL org.opencontainers.image.vendor="openSUSE Project"
|
||||
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/rmt-server:2.8-%RELEASE%"
|
||||
LABEL org.opensuse.reference="registry.opensuse.org/opensuse/rmt-server:%%rmt_version%%-%RELEASE%"
|
||||
LABEL org.openbuildservice.disturl="%DISTURL%"
|
||||
|
||||
LABEL com.suse.release-stage="released"
|
||||
# endlabelprefix
|
||||
|
||||
|
||||
RUN set -euo pipefail; zypper -n in --no-recommends rmt-server catatonit; zypper -n clean; rm -rf /var/log/*
|
||||
|
||||
ENV RAILS_ENV="production"
|
||||
ENV LANG="en"
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||
CMD ["/usr/share/rmt/bin/rails", "server", "-e", "production"]
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
|
7
_service
7
_service
@ -1,5 +1,10 @@
|
||||
<services>
|
||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||
<service mode="buildtime" name="docker_label_helper"/>
|
||||
|
||||
<service name="replace_using_package_version" mode="buildtime">
|
||||
<param name="file">Dockerfile</param>
|
||||
<param name="regex">%%rmt_version%%</param>
|
||||
<param name="package">rmt-server</param>
|
||||
<param name="parse-version">minor</param>
|
||||
</service>
|
||||
</services>
|
Loading…
Reference in New Issue
Block a user