From 7e4e4a9c14eb45d34d033ca0946eadc7d9934c4d Mon Sep 17 00:00:00 2001 From: Florent Poinsard Date: Thu, 19 Oct 2023 12:35:04 -0600 Subject: [PATCH] Remove vtbackup docker image Signed-off-by: Florent Poinsard --- docker/k8s/Dockerfile | 1 - docker/k8s/vtbackup/Dockerfile | 43 ---------------------------------- 2 files changed, 44 deletions(-) delete mode 100644 docker/k8s/vtbackup/Dockerfile diff --git a/docker/k8s/Dockerfile b/docker/k8s/Dockerfile index 3ba46595a83..a2c93455639 100644 --- a/docker/k8s/Dockerfile +++ b/docker/k8s/Dockerfile @@ -41,7 +41,6 @@ COPY --from=base /vt/bin/vtctl /vt/bin/ COPY --from=base /vt/bin/vtctlclient /vt/bin/ COPY --from=base /vt/bin/vtgate /vt/bin/ COPY --from=base /vt/bin/vttablet /vt/bin/ -COPY --from=base /vt/bin/vtbackup /vt/bin/ COPY --from=base /vt/bin/vtadmin /vt/bin/ COPY --from=base /vt/bin/vtorc /vt/bin/ diff --git a/docker/k8s/vtbackup/Dockerfile b/docker/k8s/vtbackup/Dockerfile deleted file mode 100644 index 4a8b3be9d52..00000000000 --- a/docker/k8s/vtbackup/Dockerfile +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 2019 The Vitess Authors. -# -# 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. - -ARG VT_BASE_VER=latest -ARG DEBIAN_VER=stable-slim - - -FROM vitess/k8s:${VT_BASE_VER} AS k8s - -FROM debian:${DEBIAN_VER} - -# Set up Vitess environment (just enough to run pre-built Go binaries) -ENV VTROOT /vt -ENV VTDATAROOT /vtdataroot - -# Prepare directory structure. -RUN mkdir -p /vt/bin && mkdir -p /vtdataroot - -# Copy binaries -COPY --from=k8s /vt/bin/vtbackup /vt/bin/ - -# Copy certs to allow https calls -COPY --from=k8s /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt - -# Copy vitess config -COPY --from=k8s /vt/config /vt/config - -# add vitess user/group and add permissions -RUN groupadd -r --gid 2000 vitess && \ - useradd -r -g vitess --uid 1000 vitess && \ - chown -R vitess:vitess /vt && \ - chown -R vitess:vitess /vtdataroot