下面是我用来构建图像的 docker 文件。但是在尝试构建时出现错误。
FROM postgres:11.14
RUN apt-get update && apt-get install -y --no-install-recommends \
postgresql-$PG_MAJOR-plv8 \
python-setuptools \
python-wheel \
python-pip
这是我在尝试构建图像时收到的错误
#5 0.785 Get:8 http://apt.postgresql.org/pub/repos/apt stretch-pgdg InRelease [81.6 kB]
#5 1.511 Get:9 http://apt.postgresql.org/pub/repos/apt stretch-pgdg/main amd64 Packages [278 kB]
#5 1.724 Get:10 http://apt.postgresql.org/pub/repos/apt stretch-pgdg/11 amd64 Packages [2,583 B]
#5 1.738 Fetched 8,480 kB in 1s (5,590 kB/s)
#5 1.738 Reading package lists...
#5 2.283 Reading package lists...
#5 2.800 Building dependency tree...
#5 2.911 Reading state information...
#5 2.925 E: Unable to locate package postgresql-11-plv8