Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version of latest docker build #51

Open
ruben-arts opened this issue Dec 3, 2019 · 2 comments · May be fixed by #52
Open

Version of latest docker build #51

ruben-arts opened this issue Dec 3, 2019 · 2 comments · May be fixed by #52

Comments

@ruben-arts
Copy link

We wanted to use the latest version of the image of your black. But that image is running 19.3b0 which is not the latest version when u install black locally.

When trying to build our own version we encountered a problem with the installation. You first need to add:

RUN apk add --no-cache --update gcc build-base

So the Dockerfile would look like this:

FROM python:3-alpine

LABEL io.whalebrew.name 'black'
LABEL io.whalebrew.config.working_dir '/workdir'
WORKDIR /workdir

RUN apk add --no-cache --update gcc build-base
RUN pip install --upgrade black

ENTRYPOINT ["black"]
CMD ["--help"]

After building this you have the newest version of black at your disposal 👍

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.55. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@Rayman Rayman linked a pull request Dec 3, 2019 that will close this issue
@helpr helpr bot added the pr-available label Dec 3, 2019
@Rayman
Copy link

Rayman commented Dec 3, 2019

I've implemented your idea into the following PR: #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants