Skip to content

Commit b3db77c

Browse files
authored
Merge pull request #16 from udzuki/fix-15-unable-to-install-postgres
fix: Superset DBでPostgreSQL 9.6のインストールに失敗
2 parents 798118d + 016eb5e commit b3db77c

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

superset-db/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM centos:centos7
22

3-
LABEL version="2.3.1"
3+
LABEL version="2.3.2"
44

55
# Install dependencies
66
RUN yum update -y && \
@@ -17,8 +17,8 @@ RUN curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py && \
1717
python get-pip.py
1818

1919
# Install PostgreSQL 9.6
20-
RUN yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm && \
21-
yum install -y \
20+
COPY pgdg-96.repo /etc/yum.repos.d/
21+
RUN yum install -y \
2222
postgresql96-contrib \
2323
postgresql96-devel \
2424
postgresql96-server

superset-db/pgdg-96.repo

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[pgdg96]
2+
name=PostgreSQL 9.6 RPMs for RHEL/CentOS 7
3+
baseurl=https://yum-archive.postgresql.org/9.6/redhat/rhel-7-x86_64
4+
enabled=1
5+
gpgcheck=0
6+
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG

0 commit comments

Comments
 (0)