Skip to content

Commit 040b4c2

Browse files
author
Rub21
committed
Update container for DB backup container
1 parent 001076a commit 040b4c2

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

images/backup-restore/Dockerfile

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
1-
FROM ubuntu:16.04
1+
FROM python:3.9.9
22
ENV workdir /app
33
RUN apt-get update
44
RUN apt-get install -y \
5-
wget \
6-
python-pip \
7-
software-properties-common \
8-
python-software-properties \
9-
curl
10-
RUN wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | apt-key add -
11-
RUN sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
12-
RUN apt-get update
13-
RUN apt-get install -y postgresql postgresql-contrib
5+
curl \
6+
postgresql-client
7+
8+
# Install AWS and GCP cli
149
RUN pip install awscli
1510
RUN curl -sSL https://sdk.cloud.google.com | bash
1611
RUN ln -f -s /root/google-cloud-sdk/bin/gsutil /usr/bin/gsutil
1712
WORKDIR $workdir
1813
COPY ./start.sh .
19-
CMD ./start.sh
14+
CMD ./start.sh

0 commit comments

Comments
 (0)