diff --git a/docker/postgres-kanister-tools/Dockerfile b/docker/postgres-kanister-tools/Dockerfile index bcf9e225c9..c47ffb8303 100644 --- a/docker/postgres-kanister-tools/Dockerfile +++ b/docker/postgres-kanister-tools/Dockerfile @@ -11,8 +11,8 @@ ENV DEBIAN_FRONTEND noninteractive USER root RUN apt-get update && apt-get -y install curl python3 groff less jq python3-pip && \ - pip3 install --upgrade pip && \ - pip3 install --upgrade awscli && \ + pip3 install --break-system-packages --upgrade pip && \ + pip3 install --break-system-packages --upgrade awscli && \ apt-get clean # Install restic to take backups diff --git a/docker/postgresql/Dockerfile b/docker/postgresql/Dockerfile index dcf3fe9efe..09ef9e8204 100644 --- a/docker/postgresql/Dockerfile +++ b/docker/postgresql/Dockerfile @@ -9,9 +9,9 @@ RUN useradd -r --gid=0 --uid=1001 postgres RUN set -x \ && apt-get update \ && apt-get install -y curl groff lzop pv postgresql-client python3-pip daemontools \ - && pip3 install --upgrade pip \ + && pip3 install --break-system-packages --upgrade pip \ && hash -r pip3 \ - && pip3 install wal-e[aws] \ - && pip3 install awscli + && pip3 install --break-system-packages wal-e[aws] \ + && pip3 install --break-system-packages awscli USER postgres diff --git a/examples/postgres-RDS/Dockerfile b/examples/postgres-RDS/Dockerfile index f7922fab8d..6f82bdac91 100644 --- a/examples/postgres-RDS/Dockerfile +++ b/examples/postgres-RDS/Dockerfile @@ -5,8 +5,8 @@ ENV DEBIAN_FRONTEND noninteractive USER root RUN apt-get update && apt-get -y install curl python3-pip && \ - pip3 install --upgrade pip && \ - pip3 install --upgrade awscli && \ + pip3 install --break-system-packages --upgrade pip && \ + pip3 install --break-system-packages --upgrade awscli && \ apt-get clean RUN curl https://raw.githubusercontent.com/kanisterio/kanister/master/scripts/get.sh | bash diff --git a/pkg/app/mongodb.go b/pkg/app/mongodb.go index d722f108d5..2428d939dc 100644 --- a/pkg/app/mongodb.go +++ b/pkg/app/mongodb.go @@ -61,6 +61,7 @@ func NewMongoDB(name string) HelmApp { RepoURL: helm.BitnamiRepoURL, RepoName: helm.BitnamiRepoName, Chart: "mongodb", + Version: "14.11.1", Values: map[string]string{ "architecture": "replicaset", "image.pullPolicy": "Always",