@budibase/server 2.7.26-alpha.1 → 2.7.26-alpha.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/Dockerfile CHANGED
@@ -26,11 +26,21 @@ RUN apt-get install unzip libaio1
26
26
  COPY scripts/integrations/oracle/ scripts/integrations/oracle/
27
27
  RUN /bin/bash -e scripts/integrations/oracle/instantclient/linux/x86-64/install.sh
28
28
 
29
+ # Install postgres client for pg_dump utils
30
+ RUN apt update && apt upgrade -y \
31
+ && apt install software-properties-common apt-transport-https curl gpg -y \
32
+ && curl -fsSl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | tee /usr/share/keyrings/postgresql.gpg > /dev/null \
33
+ && echo deb [arch=amd64,arm64,ppc64el signed-by=/usr/share/keyrings/postgresql.gpg] http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main | tee /etc/apt/sources.list.d/postgresql.list \
34
+ && apt update -y \
35
+ && apt install postgresql-client-15 -y \
36
+ && apt remove software-properties-common apt-transport-https curl gpg -y
37
+
38
+
29
39
  COPY package.json .
30
40
  COPY dist/yarn.lock .
31
- RUN yarn install --production=true
32
- # Remove unneeded data from file system to reduce image size
33
- RUN yarn cache clean && apt-get remove -y --purge --auto-remove g++ make python \
41
+ RUN yarn install --production=true \
42
+ # Remove unneeded data from file system to reduce image size
43
+ && yarn cache clean && apt-get remove -y --purge --auto-remove g++ make python \
34
44
  && rm -rf /tmp/* /root/.node-gyp /usr/local/lib/node_modules/npm/node_modules/node-gyp
35
45
 
36
46
  COPY dist/ dist/