Skip to content

Adding docker-compose and alpine based Dockerfile - #282

Open
niwo wants to merge 2 commits into
adamcooke:masterfrom
puzzle:docker-compose-alpine
Open

Adding docker-compose and alpine based Dockerfile#282
niwo wants to merge 2 commits into
adamcooke:masterfrom
puzzle:docker-compose-alpine

Conversation

@niwo

@niwo niwo commented Mar 29, 2019

Copy link
Copy Markdown

Adding docker-compose and alpine based image which separates the app from the database

@linuxbandit

Copy link
Copy Markdown

Looks great! thanks for this. I was going to do the same then I realised someone may have already, thankfully there was you.

Only feedback: I would avoid being root (on line 9 of the Dockerfile)

@J0WI

J0WI commented Dec 22, 2019

Copy link
Copy Markdown

The *-dev dependencies can be removed afterwards.
Adding libc6-compat is an anti pattern on Alpine Linux. Binaries should be build with musl-libc.
An example can be found here: https://github.com/docker-library/redmine/blob/master/Dockerfile-alpine.template

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.

3 participants