Skip to content

rewrite the PostgreSQL example using a Dockerfile, and add details to it - #4034

Merged
metalivedev merged 1 commit into
moby:masterfrom
SvenDowideit:postgres-example
Feb 12, 2014
Merged

metalivedev merged 1 commit into
moby:masterfrom
SvenDowideit:postgres-example

Conversation

@SvenDowideit

Copy link
Copy Markdown
Contributor

Docker-DCO-1.1-Signed-off-by: Sven Dowideit [email protected] (github: SvenDowideit)

@SvenDowideit

Copy link
Copy Markdown
Contributor Author

this is to avoid its removal in #3692

@jamtur01

Copy link
Copy Markdown
Contributor

LGTM I think - /cc @kencochrane @metalivedev

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be the same https:// -> It should be the same as https:// ?

@SvenDowideit

Copy link
Copy Markdown
Contributor Author

I tried building the eg with debian - but its bigger (348M vs 370MB) - so I'll stick with what the eg originally had.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest this instead: "Run the rest of the commands as the postgres user created by the apt-get install postgresql package."

I'm worried that developers will think that USER somehow creates Unix user accounts. It doesn't.

@metalivedev

Copy link
Copy Markdown
Contributor

Overall a huge improvement over the now-outdated example. Thanks @SvenDowideit !

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what this line 45 is for -- just a stray paste? Would need :ref:... to make it link.

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <[email protected]> (github: SvenDowideit)
@SvenDowideit

Copy link
Copy Markdown
Contributor Author

@metalivedev :/ - yup, pastie

@metalivedev

Copy link
Copy Markdown
Contributor

LGTM. Merging.

metalivedev added a commit that referenced this pull request Feb 12, 2014
rewrite the PostgreSQL example using a Dockerfile, and add details to it
@metalivedev
metalivedev merged commit e9e4b8d into moby:master Feb 12, 2014
@SvenDowideit
SvenDowideit deleted the postgres-example branch March 14, 2014 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants