Short Description
Marketplace Build
Full Description
Elixir and PostgreSQL for Bitbucket Pipelines
This repository contains a Dockerfile as well as a simple example that shows how you can run your own Docker container with Elixir and PostgreSQL on Bitbucket Pipelines.
The Docker image is using Elixir 1.3 with Hex and Rebar installed, ostgreSQL 9.5 and NodeJS 7.1 with Yarn installed
Quickstart
Using the image with Bitbucket Pipelines
Just copy/paste the YML below in your bitbucket-pipelines.yml and adapt the script to your needs.
# This is a sample build configuration for Elixir.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Dockerhub as your build environment.
image: imranismail/dockerfile-marketplace
pipelines:
default:
- step:
script:
- /etc/init.d/postgresql start
- sudo -u postgres sh -c 'createuser root & createdb opskii_test'