Public Repository

Last pushed: 5 months ago
Short Description
Docker container with maven, postgresql, nodejs
Full Description

Docker image Ubuntu 14.04.3 LTS + MVN 3.3.9 + POSTGRESQL 9.6 + NodeJS 4.2.1

# This is a sample build configuration for Javascript.
# Only use spaces to indent your .yml configuration.
# -----
# FROM atlassian/default-image
# update maven, added postgresql-9.6 

image: arharovec/docker-mvn-postgres-node

pipelines:
  default:
    - step:
        script: # Modify the commands below to build your repository.
          - /etc/init.d/postgresql start # starting the service
          - sudo -u postgres sh -c 'createuser root & createdb testdb' # creating a root user 
          - sudo -u postgres psql -c "ALTER USER root PASSWORD 'password';" # setting up the root password
          - mvn clean install
          #- npm install pg
          #- node test.js
Docker Pull Command
Owner
arharovec

Comments (0)