We don't need to use tini. We don't have anything in the rook operator that would either create zombie processes (no threads) or use exec (to fork). The Go binary has a really good signal handling mechanism. Closes: https://github.com/rook/rook/issues/8794 Signed-off-by: Sébastien Han <seb@redhat.com>
25 lines
903 B
Docker
25 lines
903 B
Docker
# Copyright 2016 The Rook Authors. All rights reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# see Makefile for the BASEIMAGE definition
|
|
FROM BASEIMAGE
|
|
|
|
ARG ARCH
|
|
COPY rook toolbox.sh set-ceph-debug-level /usr/local/bin/
|
|
COPY ceph-monitoring /etc/ceph-monitoring
|
|
COPY rook-external /etc/rook-external/
|
|
COPY ceph-csv-templates /etc/ceph-csv-templates
|
|
ENTRYPOINT ["/usr/local/bin/rook"]
|
|
CMD [""]
|