Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(docker): use docker image with current sources#605

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gpocentek merged 1 commit intomasterfromfix/docker
Oct 15, 2018

Conversation

max-wittig
Copy link
Member

@max-wittigmax-wittig commentedOct 5, 2018
edited
Loading

Fixes#602

Dockerfile Outdated

WORKDIR /opt/python-gitlab
COPY --from=build /opt/python-gitlab/dist dist/
RUN pip install $(find dist -name *.whl)

Choose a reason for hiding this comment

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

We could also delete the wheel here, and build the docker image with--squash, to save a tiny bit of extra space.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

--squash still seems to be experimental, but otherwise good idea!

Dockerfile Outdated
@@ -0,0 +1,15 @@
FROM python:alpine AS build

Choose a reason for hiding this comment

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

Should we pin to a Python version?

max-wittig reacted with thumbs up emoji
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Might be better. Maybe 3.8 will break something. I don't think so, but best practice.

README.rst Outdated
How to use
----------

``docker run -it --rm -e GITLAB_PRIVATE_TOKEN=<your token> =/python-gitlab.cfg python-gitlab <command> ...``

Choose a reason for hiding this comment

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

Ghost =/python-gitlab.cfg ?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I copied that from contrib/docker/README.rst and just glanced over it. Nice find.

@max-wittig
Copy link
MemberAuthor

@gpocentek Feel free to merge, if you approve 😃

@gpocentekgpocentek merged commitc9f7986 intomasterOct 15, 2018
@gpocentekgpocentek deleted the fix/docker branchJune 20, 2019 06:26
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@zoidyzoidzoidzoidyzoidzoidzoidyzoidzoid left review comments

@gpocentekgpocentekgpocentek approved these changes

Assignees

@gpocentekgpocentek

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@max-wittig@gpocentek@zoidyzoidzoid

[8]ページ先頭

©2009-2025 Movatter.jp