helmi03 / docker-postgis

https://index.docker.io/u/helmi03/postgis/
31 stars 40 forks source link

Wercker usage not able to createdb #16

Open djMax opened 8 years ago

djMax commented 8 years ago

This script is failing on wercker:

box: node

services:
  - id: helmi03/docker-postgis

build:
  steps:
    - install-packages:
      packages: postgresql-9.4-postgis-scripts

    - script:
        name: createdb
        code: |-
          export PGPORT=$DOCKER_POSTGIS_PORT_5432_TCP_PORT
          export PGHOST=$DOCKER_POSTGIS_PORT_5432_TCP_ADDR
          export PGUSER=docker
          export PGPASSWORD=docker
          createdb thisisatest

Error is createdb: database creation failed: ERROR: could not create directory "base/16385": Permission denied

zedtux commented 8 years ago

+1

doublebyte1 commented 8 years ago

Agree