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

Simpler docker usage #2089

Closed
tpluscode opened this issue Jun 17, 2021 · 2 comments · Fixed by #2093
Closed

Simpler docker usage #2089

tpluscode opened this issue Jun 17, 2021 · 2 comments · Fixed by #2093
Labels
documentation An issue or PR about improving Bikeshed's documentation

Comments

@tpluscode
Copy link
Contributor

I would like to propose much simplified instructions for running from docker locally. Basically all one needs is a docker-compose and a dockerfile to build a local image with an installation of bike shed. No building from sources and manual volume setup

.Dockerfile

FROM python:buster

RUN pip install bikeshed
RUN bikeshed update

ENTRYPOINT ["bikeshed"]
CMD ["--help"]

docker-compose.yml

version: "3"
services:
  bikeshed:
    build:
      context: .
      dockerfile: bs.Dockerfile
    volumes:
    - .:/data

Usage

The usage is as simple as it gets, for example:

docker-compose run --rm bikeshed watch /data/spec/index.bs
@tabatkins
Copy link
Collaborator

This certainly looks a lot better! Since I have no familiarity with Docker at all, would you be willing to PR the docs with these code samples, replacing the current instructions?

tpluscode added a commit to tpluscode/bikeshed that referenced this issue Jun 21, 2021
tpluscode added a commit to tpluscode/bikeshed that referenced this issue Jan 23, 2022
@tpluscode
Copy link
Contributor Author

@tabatkins

@jyasskin jyasskin added the documentation An issue or PR about improving Bikeshed's documentation label Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation An issue or PR about improving Bikeshed's documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants