Skip to content

Commit 729b35a

Browse files
committed
fix postgres jessie apt repo
Signed-off-by: BoHong Li <[email protected]>
1 parent ee78383 commit 729b35a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

buildpack/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN set -xe && \
1111
apt-get update && \
1212
# install postgres client
1313
apt-get install -y --no-install-recommends apt-transport-https && \
14-
echo "deb http://apt.postgresql.org/pub/repos/apt/ ${DEBIAN_VERSION_NAME}-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
14+
echo "deb http://apt-archive.postgresql.org/pub/repos/apt/ ${DEBIAN_VERSION_NAME}-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
1515
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
1616
apt-get update && \
1717
apt-get install -y --no-install-recommends postgresql-client-9.6 && \

runtime-10/Dockerfile-cjk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:10.20.1-buster-slim
1+
FROM node:10.24.1-buster-slim
22

33
ENV DEBIAN_VERSION_NAME=buster NODE_ENV=production
44
ENV OPENSSL_CONF=/etc/ssl/

runtime-15/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM node:15.14.0-buster
22

3-
ENV DEBIAN_VERSION_NAME=jessie NODE_ENV=production
3+
ENV DEBIAN_VERSION_NAME=buster NODE_ENV=production
44
ENV PORTCHECKER_VERSION=v1.1.0
55

66
ARG USER_NAME=hackmd

runtime/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN set -xe && \
1616
apt-get update && \
1717
# install postgres client
1818
apt-get install -y --no-install-recommends apt-transport-https && \
19-
echo "deb http://apt.postgresql.org/pub/repos/apt/ ${DEBIAN_VERSION_NAME}-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
19+
echo "deb http://apt-archive.postgresql.org/pub/repos/apt/ ${DEBIAN_VERSION_NAME}-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
2020
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - && \
2121
apt-get update && \
2222
apt-get install -y --no-install-recommends postgresql-client-9.6 && \

0 commit comments

Comments
 (0)