-
-- Add SPDX license identifier & correct version, labels & cleanup /var/log
diff --git a/rmt-nginx/10-listen-on-ipv6-by-default.sh b/rmt-nginx/10-listen-on-ipv6-by-default.sh
deleted file mode 100644
index b2655860d..000000000
--- a/rmt-nginx/10-listen-on-ipv6-by-default.sh
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-# vim:sw=4:ts=4:et
-
-set -e
-
-entrypoint_log() {
- if [ -z "${NGINX_ENTRYPOINT_QUIET_LOGS:-}" ]; then
- echo "$@"
- fi
-}
-
-ME=$(basename $0)
-DEFAULT_CONF_FILE="etc/nginx/conf.d/default.conf"
-
-# check if we have ipv6 available
-if [ ! -f "/proc/net/if_inet6" ]; then
- entrypoint_log "$ME: info: ipv6 not available"
- exit 0
-fi
-
-if [ ! -f "/$DEFAULT_CONF_FILE" ]; then
- entrypoint_log "$ME: info: /$DEFAULT_CONF_FILE is not a file or does not exist"
- exit 0
-fi
-
-# check if the file can be modified, e.g. not on a r/o filesystem
-touch /$DEFAULT_CONF_FILE 2>/dev/null || { entrypoint_log "$ME: info: can not modify /$DEFAULT_CONF_FILE (read-only file system?)"; exit 0; }
-
-# check if the file is already modified, e.g. on a container restart
-grep -q "listen \[::]\:80;" /$DEFAULT_CONF_FILE && { entrypoint_log "$ME: info: IPv6 listen already enabled"; exit 0; }
-
-if [ -f "/etc/os-release" ]; then
- . /etc/os-release
-else
- entrypoint_log "$ME: info: can not guess the operating system"
- exit 0
-fi
-
-entrypoint_log "$ME: info: Getting the checksum of /$DEFAULT_CONF_FILE"
-
-case "$ID" in
- "debian")
- CHECKSUM=$(dpkg-query --show --showformat='${Conffiles}\n' nginx | grep $DEFAULT_CONF_FILE | cut -d' ' -f 3)
- echo "$CHECKSUM /$DEFAULT_CONF_FILE" | md5sum -c - >/dev/null 2>&1 || {
- entrypoint_log "$ME: info: /$DEFAULT_CONF_FILE differs from the packaged version"
- exit 0
- }
- ;;
- "alpine")
- CHECKSUM=$(apk manifest nginx 2>/dev/null| grep $DEFAULT_CONF_FILE | cut -d' ' -f 1 | cut -d ':' -f 2)
- echo "$CHECKSUM /$DEFAULT_CONF_FILE" | sha1sum -c - >/dev/null 2>&1 || {
- entrypoint_log "$ME: info: /$DEFAULT_CONF_FILE differs from the packaged version"
- exit 0
- }
- ;;
- *)
- entrypoint_log "$ME: info: Unsupported distribution"
- exit 0
- ;;
-esac
-
-# enable ipv6 on default.conf listen sockets
-sed -i -E 's,listen 80;,listen 80;\n listen [::]:80;,' /$DEFAULT_CONF_FILE
-
-entrypoint_log "$ME: info: Enabled listen on IPv6 in /$DEFAULT_CONF_FILE"
-
-exit 0
diff --git a/rmt-nginx/20-envsubst-on-templates.sh b/rmt-nginx/20-envsubst-on-templates.sh
deleted file mode 100644
index d0398b1e1..000000000
--- a/rmt-nginx/20-envsubst-on-templates.sh
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-
-set -e
-
-ME=$(basename $0)
-
-entrypoint_log() {
- if [ -z "${NGINX_ENTRYPOINT_QUIET_LOGS:-}" ]; then
- echo "$@"
- fi
-}
-
-auto_envsubst() {
- local template_dir="${NGINX_ENVSUBST_TEMPLATE_DIR:-/etc/nginx/templates}"
- local suffix="${NGINX_ENVSUBST_TEMPLATE_SUFFIX:-.template}"
- local output_dir="${NGINX_ENVSUBST_OUTPUT_DIR:-/etc/nginx/conf.d}"
- local filter="${NGINX_ENVSUBST_FILTER:-}"
-
- local template defined_envs relative_path output_path subdir
- defined_envs=$(printf '${%s} ' $(awk "END { for (name in ENVIRON) { print ( name ~ /${filter}/ ) ? name : \"\" } }" < /dev/null ))
- [ -d "$template_dir" ] || return 0
- if [ ! -w "$output_dir" ]; then
- entrypoint_log "$ME: ERROR: $template_dir exists, but $output_dir is not writable"
- return 0
- fi
- find "$template_dir" -follow -type f -name "*$suffix" -print | while read -r template; do
- relative_path="${template#$template_dir/}"
- output_path="$output_dir/${relative_path%$suffix}"
- subdir=$(dirname "$relative_path")
- # create a subdirectory where the template file exists
- mkdir -p "$output_dir/$subdir"
- entrypoint_log "$ME: Running envsubst on $template to $output_path"
- envsubst "$defined_envs" < "$template" > "$output_path"
- done
-}
-
-auto_envsubst
-
-exit 0
diff --git a/rmt-nginx/30-tune-worker-processes.sh b/rmt-nginx/30-tune-worker-processes.sh
deleted file mode 100644
index 9aa42e98d..000000000
--- a/rmt-nginx/30-tune-worker-processes.sh
+++ /dev/null
@@ -1,188 +0,0 @@
-#!/bin/sh
-# vim:sw=2:ts=2:sts=2:et
-
-set -eu
-
-LC_ALL=C
-ME=$( basename "$0" )
-PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
-
-[ "${NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE:-}" ] || exit 0
-
-touch /etc/nginx/nginx.conf 2>/dev/null || { echo >&2 "$ME: error: can not modify /etc/nginx/nginx.conf (read-only file system?)"; exit 0; }
-
-ceildiv() {
- num=$1
- div=$2
- echo $(( (num + div - 1) / div ))
-}
-
-get_cpuset() {
- cpusetroot=$1
- cpusetfile=$2
- ncpu=0
- [ -f "$cpusetroot/$cpusetfile" ] || return 1
- for token in $( tr ',' ' ' < "$cpusetroot/$cpusetfile" ); do
- case "$token" in
- *-*)
- count=$( seq $(echo "$token" | tr '-' ' ') | wc -l )
- ncpu=$(( ncpu+count ))
- ;;
- *)
- ncpu=$(( ncpu+1 ))
- ;;
- esac
- done
- echo "$ncpu"
-}
-
-get_quota() {
- cpuroot=$1
- ncpu=0
- [ -f "$cpuroot/cpu.cfs_quota_us" ] || return 1
- [ -f "$cpuroot/cpu.cfs_period_us" ] || return 1
- cfs_quota=$( cat "$cpuroot/cpu.cfs_quota_us" )
- cfs_period=$( cat "$cpuroot/cpu.cfs_period_us" )
- [ "$cfs_quota" = "-1" ] && return 1
- [ "$cfs_period" = "0" ] && return 1
- ncpu=$( ceildiv "$cfs_quota" "$cfs_period" )
- [ "$ncpu" -gt 0 ] || return 1
- echo "$ncpu"
-}
-
-get_quota_v2() {
- cpuroot=$1
- ncpu=0
- [ -f "$cpuroot/cpu.max" ] || return 1
- cfs_quota=$( cut -d' ' -f 1 < "$cpuroot/cpu.max" )
- cfs_period=$( cut -d' ' -f 2 < "$cpuroot/cpu.max" )
- [ "$cfs_quota" = "max" ] && return 1
- [ "$cfs_period" = "0" ] && return 1
- ncpu=$( ceildiv "$cfs_quota" "$cfs_period" )
- [ "$ncpu" -gt 0 ] || return 1
- echo "$ncpu"
-}
-
-get_cgroup_v1_path() {
- needle=$1
- found=
- foundroot=
- mountpoint=
-
- [ -r "/proc/self/mountinfo" ] || return 1
- [ -r "/proc/self/cgroup" ] || return 1
-
- while IFS= read -r line; do
- case "$needle" in
- "cpuset")
- case "$line" in
- *cpuset*)
- found=$( echo "$line" | cut -d ' ' -f 4,5 )
- break
- ;;
- esac
- ;;
- "cpu")
- case "$line" in
- *cpuset*)
- ;;
- *cpu,cpuacct*|*cpuacct,cpu|*cpuacct*|*cpu*)
- found=$( echo "$line" | cut -d ' ' -f 4,5 )
- break
- ;;
- esac
- esac
- done << __EOF__
-$( grep -F -- '- cgroup ' /proc/self/mountinfo )
-__EOF__
-
- while IFS= read -r line; do
- controller=$( echo "$line" | cut -d: -f 2 )
- case "$needle" in
- "cpuset")
- case "$controller" in
- cpuset)
- mountpoint=$( echo "$line" | cut -d: -f 3 )
- break
- ;;
- esac
- ;;
- "cpu")
- case "$controller" in
- cpu,cpuacct|cpuacct,cpu|cpuacct|cpu)
- mountpoint=$( echo "$line" | cut -d: -f 3 )
- break
- ;;
- esac
- ;;
- esac
-done << __EOF__
-$( grep -F -- 'cpu' /proc/self/cgroup )
-__EOF__
-
- case "${found%% *}" in
- "/")
- foundroot="${found##* }$mountpoint"
- ;;
- "$mountpoint")
- foundroot="${found##* }"
- ;;
- esac
- echo "$foundroot"
-}
-
-get_cgroup_v2_path() {
- found=
- foundroot=
- mountpoint=
-
- [ -r "/proc/self/mountinfo" ] || return 1
- [ -r "/proc/self/cgroup" ] || return 1
-
- while IFS= read -r line; do
- found=$( echo "$line" | cut -d ' ' -f 4,5 )
- done << __EOF__
-$( grep -F -- '- cgroup2 ' /proc/self/mountinfo )
-__EOF__
-
- while IFS= read -r line; do
- mountpoint=$( echo "$line" | cut -d: -f 3 )
-done << __EOF__
-$( grep -F -- '0::' /proc/self/cgroup )
-__EOF__
-
- case "${found%% *}" in
- "")
- return 1
- ;;
- "/")
- foundroot="${found##* }$mountpoint"
- ;;
- "$mountpoint" | /../*)
- foundroot="${found##* }"
- ;;
- esac
- echo "$foundroot"
-}
-
-ncpu_online=$( getconf _NPROCESSORS_ONLN )
-ncpu_cpuset=
-ncpu_quota=
-ncpu_cpuset_v2=
-ncpu_quota_v2=
-
-cpuset=$( get_cgroup_v1_path "cpuset" ) && ncpu_cpuset=$( get_cpuset "$cpuset" "cpuset.effective_cpus" ) || ncpu_cpuset=$ncpu_online
-cpu=$( get_cgroup_v1_path "cpu" ) && ncpu_quota=$( get_quota "$cpu" ) || ncpu_quota=$ncpu_online
-cgroup_v2=$( get_cgroup_v2_path ) && ncpu_cpuset_v2=$( get_cpuset "$cgroup_v2" "cpuset.cpus.effective" ) || ncpu_cpuset_v2=$ncpu_online
-cgroup_v2=$( get_cgroup_v2_path ) && ncpu_quota_v2=$( get_quota_v2 "$cgroup_v2" ) || ncpu_quota_v2=$ncpu_online
-
-ncpu=$( printf "%s\n%s\n%s\n%s\n%s\n" \
- "$ncpu_online" \
- "$ncpu_cpuset" \
- "$ncpu_quota" \
- "$ncpu_cpuset_v2" \
- "$ncpu_quota_v2" \
- | sort -n \
- | head -n 1 )
-
-sed -i.bak -r 's/^(worker_processes)(.*)$/# Commented out by '"$ME"' on '"$(date)"'\n#\1\2\n\1 '"$ncpu"';/' /etc/nginx/nginx.conf
diff --git a/rmt-nginx/Dockerfile b/rmt-nginx/Dockerfile
deleted file mode 100644
index 821f0c39b..000000000
--- a/rmt-nginx/Dockerfile
+++ /dev/null
@@ -1,47 +0,0 @@
-# SPDX-License-Identifier: MIT
-#!BuildTag: suse/rmt-nginx:%%nginx_version%%
-#!BuildTag: suse/rmt-nginx:%%nginx_version%%-%RELEASE%
-
-FROM suse/sle15:15.3
-
-MAINTAINER SUSE LLC (https://www.suse.com/)
-
-# Define labels according to https://en.opensuse.org/Building_derived_containers
-# labelprefix=com.suse.application.rmt-nginx
-LABEL org.opencontainers.image.title="SLE RMT Nginx Container Image"
-LABEL org.opencontainers.image.description="RMT Nginx based on the SLE Base Container Image."
-LABEL org.opencontainers.image.version="%%nginx_version%%"
-LABEL org.opencontainers.image.url="https://www.suse.com/products/server/"
-LABEL org.opencontainers.image.created="%BUILDTIME%"
-LABEL org.opencontainers.image.vendor="SUSE LLC"
-LABEL org.opensuse.reference="registry.suse.com/suse/rmt-nginx:%%nginx_version%%-%RELEASE%"
-LABEL org.openbuildservice.disturl="%DISTURL%"
-LABEL com.suse.supportlevel="techpreview"
-LABEL com.suse.eula="sle-bci"
-LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle"
-LABEL com.suse.image-type="application"
-LABEL com.suse.release-stage="released"
-# endlabelprefix
-
-RUN set -euo pipefail; zypper -n in --no-recommends nginx distribution-release; zypper -n clean; rm -rf /var/log/*
-ENTRYPOINT ["/docker-entrypoint.sh"]
-CMD ["nginx", "-g", "daemon off;"]
-EXPOSE 80
-RUN set -euo pipefail; mkdir /docker-entrypoint.d
-COPY 10-listen-on-ipv6-by-default.sh /docker-entrypoint.d/
-COPY 20-envsubst-on-templates.sh /docker-entrypoint.d/
-COPY 30-tune-worker-processes.sh /docker-entrypoint.d/
-COPY docker-entrypoint.sh /
-RUN set -euo pipefail; chmod +x /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
-RUN set -euo pipefail; chmod +x /docker-entrypoint.d/20-envsubst-on-templates.sh
-RUN set -euo pipefail; chmod +x /docker-entrypoint.d/30-tune-worker-processes.sh
-RUN set -euo pipefail; chmod +x /docker-entrypoint.sh
-
-COPY index.html /srv/www/htdocs/
-
-RUN set -euo pipefail; mkdir /var/log/nginx
-RUN set -euo pipefail; chown nginx:nginx /var/log/nginx
-RUN set -euo pipefail; ln -sf /dev/stdout /var/log/nginx/access.log
-RUN set -euo pipefail; ln -sf /dev/stderr /var/log/nginx/error.log
-
-STOPSIGNAL SIGQUIT
diff --git a/rmt-nginx/LICENSE b/rmt-nginx/LICENSE
deleted file mode 100644
index bc1d673f0..000000000
--- a/rmt-nginx/LICENSE
+++ /dev/null
@@ -1,23 +0,0 @@
-Copyright (C) 2011-2016 Nginx, Inc.
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGE.
diff --git a/rmt-nginx/_service b/rmt-nginx/_service
deleted file mode 100644
index 3b6c43fad..000000000
--- a/rmt-nginx/_service
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
- Dockerfile
- %%nginx_version%%
- nginx
- minor
-
-
\ No newline at end of file
diff --git a/rmt-nginx/docker-entrypoint.sh b/rmt-nginx/docker-entrypoint.sh
deleted file mode 100644
index e201fe608..000000000
--- a/rmt-nginx/docker-entrypoint.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-# vim:sw=4:ts=4:et
-
-set -e
-
-entrypoint_log() {
- if [ -z "${NGINX_ENTRYPOINT_QUIET_LOGS:-}" ]; then
- echo "$@"
- fi
-}
-
-if [ "$1" = "nginx" -o "$1" = "nginx-debug" ]; then
- if /usr/bin/find "/docker-entrypoint.d/" -mindepth 1 -maxdepth 1 -type f -print -quit 2>/dev/null | read v; then
- entrypoint_log "$0: /docker-entrypoint.d/ is not empty, will attempt to perform configuration"
-
- entrypoint_log "$0: Looking for shell scripts in /docker-entrypoint.d/"
- find "/docker-entrypoint.d/" -follow -type f -print | sort -V | while read -r f; do
- case "$f" in
- *.envsh)
- if [ -x "$f" ]; then
- entrypoint_log "$0: Sourcing $f";
- . "$f"
- else
- # warn on shell scripts without exec bit
- entrypoint_log "$0: Ignoring $f, not executable";
- fi
- ;;
- *.sh)
- if [ -x "$f" ]; then
- entrypoint_log "$0: Launching $f";
- "$f"
- else
- # warn on shell scripts without exec bit
- entrypoint_log "$0: Ignoring $f, not executable";
- fi
- ;;
- *) entrypoint_log "$0: Ignoring $f";;
- esac
- done
-
- entrypoint_log "$0: Configuration complete; ready for start up"
- else
- entrypoint_log "$0: No files found in /docker-entrypoint.d/, skipping configuration"
- fi
-fi
-
-exec "$@"
diff --git a/rmt-nginx/index.html b/rmt-nginx/index.html
deleted file mode 100644
index 4be195920..000000000
--- a/rmt-nginx/index.html
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-Welcome to nginx!
-
-
-
-Welcome to nginx!
-If you see this page, the container with the nginx web server is
-successfully installed and working.
-
-
diff --git a/rmt-nginx/rmt-nginx.changes b/rmt-nginx/rmt-nginx.changes
deleted file mode 100644
index 296f1db1f..000000000
--- a/rmt-nginx/rmt-nginx.changes
+++ /dev/null
@@ -1,64 +0,0 @@
--------------------------------------------------------------------
-Wed Nov 23 10:08:28 UTC 2022 - Dan Čermák
-
-- Update 20-envsubst-on-templates.sh and docker-entrypoint.sh from upstream
-
--------------------------------------------------------------------
-Mon Sep 26 14:51:57 UTC 2022 - Dan Čermák
-
-- Apply buildrecipe templates
-
--------------------------------------------------------------------
-Mon Sep 26 07:53:05 UTC 2022 - Dan Čermák
-
-- Improve logging in nginx scripts
-
--------------------------------------------------------------------
-Fri Aug 19 10:24:42 UTC 2022 - Dan Čermák
-
-- Use obs-service-replace_using_package_version for the container version
-
--------------------------------------------------------------------
-Fri Jun 17 09:18:26 UTC 2022 - Dan Čermák
-
-- Switch latest tag to 15SP4
-
--------------------------------------------------------------------
-Tue May 3 09:27:47 UTC 2022 - Dan Čermák
-
-- Use set -euo pipefail in every RUN command, use ; instead of && to prevent masking failures
-
--------------------------------------------------------------------
-Fri Apr 22 08:12:35 UTC 2022 - Dan Čermák
-
-- remove org.opencontainers.image.revision label
-
--------------------------------------------------------------------
-Wed Apr 20 14:07:26 UTC 2022 - Dan Čermák
-
-- Ensure that the reference contains the %RELEASE%
-
--------------------------------------------------------------------
-Tue Apr 12 08:45:03 UTC 2022 - Dan Čermák
-
-- Add set -euo pipefail where applicable && Add the current git HEAD hash as the org.opencontainers.image.revision OCI label
-
--------------------------------------------------------------------
-Wed Mar 16 13:12:15 UTC 2022 - Dan Čermák
-
-- Fix quotes in CMD and ENTRYPOINT
-
--------------------------------------------------------------------
-Tue Mar 8 07:29:11 UTC 2022 - Dan Čermák
-
-- Shorten description (jsc#BCI-42)
-
--------------------------------------------------------------------
-Fri Feb 25 14:36:46 UTC 2022 - Dan Čermák
-
-- Switch from the techpreview label to supportlevel
-
--------------------------------------------------------------------
-Wed Feb 16 10:29:48 UTC 2022 - Dan Čermák
-
-- Add SPDX license identifier & correct labelprefix
diff --git a/rmt-server/Dockerfile b/rmt-server/Dockerfile
deleted file mode 100644
index bf9c90f28..000000000
--- a/rmt-server/Dockerfile
+++ /dev/null
@@ -1,33 +0,0 @@
-# SPDX-License-Identifier: MIT
-#!BuildTag: suse/rmt-server:%%rmt_version%%
-#!BuildTag: suse/rmt-server:%%rmt_version%%-%RELEASE%
-
-FROM suse/sle15:15.3
-
-MAINTAINER SUSE LLC (https://www.suse.com/)
-
-# Define labels according to https://en.opensuse.org/Building_derived_containers
-# labelprefix=com.suse.application.rmt-server
-LABEL org.opencontainers.image.title="SLE RMT Server Container Image"
-LABEL org.opencontainers.image.description="SUSE RMT Server based on the SLE Base Container Image."
-LABEL org.opencontainers.image.version="%%rmt_version%%"
-LABEL org.opencontainers.image.url="https://www.suse.com/products/server/"
-LABEL org.opencontainers.image.created="%BUILDTIME%"
-LABEL org.opencontainers.image.vendor="SUSE LLC"
-LABEL org.opensuse.reference="registry.suse.com/suse/rmt-server:%%rmt_version%%-%RELEASE%"
-LABEL org.openbuildservice.disturl="%DISTURL%"
-LABEL com.suse.supportlevel="techpreview"
-LABEL com.suse.eula="sle-bci"
-LABEL com.suse.lifecycle-url="https://www.suse.com/lifecycle"
-LABEL com.suse.image-type="application"
-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
-RUN set -euo pipefail; chmod +x /usr/local/bin/entrypoint.sh
diff --git a/rmt-server/_service b/rmt-server/_service
deleted file mode 100644
index c9c6ac7aa..000000000
--- a/rmt-server/_service
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
- Dockerfile
- %%rmt_version%%
- rmt-server
- minor
-
-
\ No newline at end of file
diff --git a/rmt-server/entrypoint.sh b/rmt-server/entrypoint.sh
deleted file mode 100644
index bc24a2f21..000000000
--- a/rmt-server/entrypoint.sh
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/bin/sh
-set -e
-
-# PV could be empty, make sure the directories exist
-mkdir -p /var/lib/rmt/public/repo
-mkdir -p /var/lib/rmt/public/suma
-mkdir -p /var/lib/rmt/regsharing
-mkdir -p /var/lib/rmt/tmp
-# Set permissions
-chown -R _rmt:nginx /var/lib/rmt
-
-if [ -z "${MYSQL_HOST}" ]; then
- echo "MYSQL_HOST not set!"
- exit 1
-fi
-if [ -z "${MYSQL_PASSWORD}" ]; then
- echo "MYSQL_PASSWORD not set!"
- exit 1
-fi
-
-MYSQL_DATABASE="${MYSQL_DATABASE:-rmt}"
-MYSQL_USER="${MYSQL_USER:-rmt}"
-
-# Create adjusted /etc/rmt.conf
-echo -e "database:\n host: ${MYSQL_HOST}\n database: ${MYSQL_DATABASE}\n username: ${MYSQL_USER}\n password: ${MYSQL_PASSWORD}" > /etc/rmt.conf
-echo -e " adapter: mysql2\n encoding: utf8\n timeout: 5000\n pool: 5\n" >> /etc/rmt.conf
-echo -e "scc:\n username: ${SCC_USERNAME}\n password: ${SCC_PASSWORD}\n sync_systems: true\n" >> /etc/rmt.conf
-echo -e "log_level:\n rails: debug" >> /etc/rmt.conf
-
-if [ $# -eq 0 ]; then
- set -- /usr/share/rmt/bin/rails server -e production
-fi
-
-if [ "$1" == "/usr/share/rmt/bin/rails" -a "$2" == "server" ]; then
- echo "Create/migrate RMT database"
- pushd /usr/share/rmt > /dev/null
- /usr/share/rmt/bin/rails db:create db:migrate RAILS_ENV=production
- popd > /dev/null
- echo "Syncing product list"
- rmt-cli sync
- for PRODUCT in $SCC_PRODUCT_ENABLE
- do
- rmt-cli products enable $PRODUCT
- done
- for PRODUCT in $SCC_PRODUCT_DISABLE
- do
- rmt-cli products disable $PRODUCT
- done
- rmt-cli repos clean
- echo "Executing: catatonit -- $@"
- exec catatonit -- "$@"
-else
- echo "Executing: $@"
- exec "$@"
-fi
diff --git a/rmt-server/rmt-server.changes b/rmt-server/rmt-server.changes
deleted file mode 100644
index fb874b258..000000000
--- a/rmt-server/rmt-server.changes
+++ /dev/null
@@ -1,73 +0,0 @@
--------------------------------------------------------------------
-Mon Sep 26 14:52:11 UTC 2022 - Dan Čermák
-
-- Apply buildrecipe templates
-
--------------------------------------------------------------------
-Fri Aug 19 10:24:58 UTC 2022 - Dan Čermák
-
-- Use obs-service-replace_using_package_version for the container version
-
--------------------------------------------------------------------
-Fri Jun 17 09:18:46 UTC 2022 - Dan Čermák
-
-- Switch latest tag to 15SP4
-
--------------------------------------------------------------------
-Mon May 23 13:38:02 UTC 2022 - Bruno Leon
-
-- Update rmt-server to 2.8
-
--------------------------------------------------------------------
-Tue May 3 09:28:02 UTC 2022 - Dan Čermák
-
-- Use set -euo pipefail in every RUN command, use ; instead of && to prevent masking failures
-
--------------------------------------------------------------------
-Thu Apr 28 11:42:03 UTC 2022 - Dan Čermák
-
-- Ensure that /var/log/zypp is absent
-
--------------------------------------------------------------------
-Fri Apr 22 08:12:53 UTC 2022 - Dan Čermák