Skip to content

Commit

Permalink
[186049138] Postgresql is used in acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dark5un committed Nov 29, 2023
1 parent c95d8a7 commit f3c245f
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions cf-acceptance-tests/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
FROM ghcr.io/alphagov/paas/ubuntu:main

RUN apt update \
&& apt install -y \
build-essential \
openssh-client \
unzip \
python3-pip \
jq \
git \
fossil \
mercurial \
bzr \
subversion
RUN apt update && apt install -y \
build-essential \
openssh-client \
unzip \
python3-pip \
jq \
git \
fossil \
mercurial \
bzr \
subversion \
postgresql-12 \
postgresql-client-12

ENV GOPATH /go
ENV PATH /go/bin:/usr/local/go/bin:$PATH
Expand All @@ -30,8 +31,8 @@ RUN go install github.com/onsi/ginkgo/v2/ginkgo@latest

# Install the cf CLI
RUN wget -q -O cf.deb "https://packages.cloudfoundry.org/stable?release=debian64&version=${CF_CLI_VERSION}&source=github-rel" && \
dpkg -i cf.deb && \
rm -f cf.deb
dpkg -i cf.deb && \
rm -f cf.deb

# Setup plugins
ENV CF_PLUGIN_HOME /root/
Expand Down

0 comments on commit f3c245f

Please sign in to comment.