Tag: docker circleci

定制泊坞窗图像不运行postgres

我正在尝试为circleci v2创build自己的自定义泊坞窗文件。 但是,我遇到了postgres服务器没有运行的问题。 我已经运行service postgresql start没有可用。 我得到的消息是: psql: could not connect to server: Connection refused Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? Dockerfile: FROM ubuntu:16.04 ENV NODEJS_VERSION 6 ENV POSTGRESQL_VERSION 9.6 RUN apt-get update && apt-get -y install curl RUN curl -sL https://deb.nodesource.com/setup_$NODEJS_VERSION.x | bash – RUN apt-key adv […]