Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Sort package arguments in Dockerfile #509

Merged
merged 2 commits into from
Mar 10, 2019
Merged

Sort package arguments in Dockerfile #509

merged 2 commits into from
Mar 10, 2019

Conversation

bebehei
Copy link
Contributor

@bebehei bebehei commented Feb 15, 2019

This applies the Dockerfile best practices from dockerhub.

Also it adds --no-cache to the apk add calls. This has got the same effect
like apk update, but doesn't store the package lists in the container.

sbrunner
sbrunner previously approved these changes Feb 15, 2019
Copy link
Contributor

@sbrunner sbrunner left a comment

Choose a reason for hiding this comment

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

:-)

pitkley
pitkley previously approved these changes Feb 15, 2019
Strubbl
Strubbl previously approved these changes Feb 15, 2019
@bebehei
Copy link
Contributor Author

bebehei commented Feb 15, 2019

Guys, thanks for those reviews. But why isn't travis reporting anything?

@pitkley
Copy link
Member

pitkley commented Feb 15, 2019

@bebehei it is probably related to the recent move to an organization. I have informed Daniel about it.

@danielquinn
Copy link
Collaborator

Sorry about this guys. I'm having trouble with Travis (*why can't we all just use GitLab?) and haven't been able to figure out what the problem is. Details are in #512. I'll get it up & running as soon as I can.

This applies the Dockerfile best practices from dockerhub.

Also it adds `--no-cache` to the `apk add` calls. This has got the same effect
like `apk update`, but doesn't store the package lists in the container.
@bebehei bebehei dismissed stale reviews from Strubbl, pitkley, and sbrunner via a590fda February 18, 2019 09:53
@bebehei
Copy link
Contributor Author

bebehei commented Feb 18, 2019

So, I made a force push now. It's building fine now.

pitkley
pitkley previously approved these changes Feb 18, 2019
.travis.yml Outdated Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
@bebehei
Copy link
Contributor Author

bebehei commented Feb 18, 2019

Well, Travis status reports are fucked up again. Interestingly Travis builds the PR's commits, but it doesn't report the commit's status. Build for 557d730.

install:
- true
script:
- docker build -t paperless .
Copy link
Contributor

@Strubbl Strubbl Feb 18, 2019

Choose a reason for hiding this comment

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

should we include a --pull here to get the latest and greates base image?

docker build --pull -t paperless .

@bebehei
Copy link
Contributor Author

bebehei commented Feb 19, 2019

Travis hasn't got any images preloaded. So it doesn't matter, the image will get pulled anyway

@pitkley
Copy link
Member

pitkley commented Mar 3, 2019

I am going to close and reopen this PR, since that seems to fix Travis (thanks for discovering this easy fix, @stgarf 👍).

@pitkley pitkley closed this Mar 3, 2019
@pitkley pitkley reopened this Mar 3, 2019
@pitkley pitkley requested a review from a team March 3, 2019 19:06
@bebehei
Copy link
Contributor Author

bebehei commented Mar 3, 2019

So guys, will you finally merge this now?

@stgarf
Copy link
Contributor

stgarf commented Mar 3, 2019

@bebehei Looks like as soon as it has two "approved" reviews it will be merged. There was an issue with Travis not running CI on in-progress PRs during "The Great Paperless Organization Migration of 2019™" that's been mostly resolved as of today.

@jat255
Copy link
Contributor

jat255 commented Mar 3, 2019

Thanks @stgarf for going through all these older and held-up issues. I don't have any experience running with Docker, so I'll have to leave this review to someone else.

@pitkley pitkley merged commit 7a9d985 into the-paperless-project:master Mar 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants