bpandey23 commited on
Commit
193844b
1 Parent(s): e8bc6b1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -12,10 +12,12 @@ RUN apt-get update && apt-get install -y \
12
  lsb-release \
13
  lsof \
14
  postgresql \
 
15
 
16
- #NEEDED FOR POSTGRES16
17
- RUN curl -fsSL --insecure https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg
18
-
 
19
  RUN apt-get update && apt-get install -y postgresql-client-16
20
 
21
  # Copy the entrypoint script to the container
 
12
  lsb-release \
13
  lsof \
14
  postgresql \
15
+ gnupg
16
 
17
+ # Install the PostgreSQL 16 repository key
18
+ RUN curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg
19
+
20
+ # Install PostgreSQL 16 client
21
  RUN apt-get update && apt-get install -y postgresql-client-16
22
 
23
  # Copy the entrypoint script to the container