Laradock: Ability to speficy Postgres version

Created on 10 Oct 2017  路  3Comments  路  Source: laradock/laradock

Info:

  • Docker version ($ docker --version): Docker version 1.12.6, build 78d1802
  • Laradock commit ($ git rev-parse HEAD): 01c358b6bc76333f4960a7da582d3bdbc33b9155
  • System info (Mac, PC, Linux): Linux
  • System info disto/version: Ubuntu 17.04

Issue:

Docker installs latest Postgres version


Expected behavior:

Being able to speficy Postgres version in .env file


Reproduce:

docker-compose up -d postgres

Relevant Code:

FROM postgres:latest

Stale Enhancement

Most helpful comment

Inside postgres/Dockerfile change

FROM postgres:alpine

to

FROM postgres:<version> e.g. FROM postgres:9.6

& run

docker-compose up -d --build postgres

All 3 comments

docker tag postgres:10 postgres

Inside postgres/Dockerfile change

FROM postgres:alpine

to

FROM postgres:<version> e.g. FROM postgres:9.6

& run

docker-compose up -d --build postgres

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings