Skip to content

Commit

Permalink
build(docker): rollback break-system-packages flag for some images (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hairyhum committed Feb 23, 2024
1 parent a76a564 commit 797e3e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docker/postgres-kanister-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ ARG TOOLS_IMAGE
FROM ${TOOLS_IMAGE} AS TOOLS_IMAGE

# Actual image base
FROM postgres:16.1-bullseye
FROM postgres:16-bullseye

ENV DEBIAN_FRONTEND noninteractive

USER root

RUN apt-get update && apt-get -y install curl python3 groff less jq python3-pip && \
pip3 install --break-system-packages --upgrade pip && \
pip3 install --break-system-packages --upgrade awscli && \
pip3 install --upgrade pip && \
pip3 install --upgrade awscli && \
apt-get clean

# Install restic to take backups
Expand Down
4 changes: 2 additions & 2 deletions examples/postgres-RDS/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ENV DEBIAN_FRONTEND noninteractive
USER root

RUN apt-get update && apt-get -y install curl python3-pip && \
pip3 install --break-system-packages --upgrade pip && \
pip3 install --break-system-packages --upgrade awscli && \
pip3 install --upgrade pip && \
pip3 install --upgrade awscli && \
apt-get clean

RUN curl https://raw.githubusercontent.com/kanisterio/kanister/master/scripts/get.sh | bash
Expand Down

0 comments on commit 797e3e7

Please sign in to comment.