Skip to content

Commit

Permalink
Merge pull request #17 from aservo/feature/install-postgresql-client
Browse files Browse the repository at this point in the history
Install Postgresql client
  • Loading branch information
pathob authored Nov 8, 2022
2 parents 2f033fa + 9ecbd8c commit bb675ad
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,37 @@ ARG DEBIAN_FRONTEND=noninteractive
# Install basic packages

RUN apt-get update && \
apt-get install -y ca-certificates curl gnupg lsb-release
apt-get --no-install-recommends --yes install \
ca-certificates \
curl \
gnupg \
lsb-release \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list

# Install main packages

RUN apt-get update && \
apt-get install -y containerd.io docker-ce docker-ce-cli git jq ncat pwgen python3-pip sudo unzip wget && \
apt-get clean
apt-get --no-install-recommends --yes install \
containerd.io \
docker-ce \
docker-ce-cli \
git \
jq \
ncat \
postgresql-client \
pwgen \
python3-pip \
sudo \
unzip \
wget \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install PIP packages

Expand Down

0 comments on commit bb675ad

Please sign in to comment.