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

Add devcontainer configuration #632

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dciborow
Copy link
Contributor

Adding a devcontainer configuration which can be used with GitHub Codespace or with VSCode to create a local container.

The configuration includes the basics configurations for Python.

Comment on lines +5 to +18
&& python -m pip install 'flit>=3.8.0'

ENV FLIT_ROOT_INSTALL=1

COPY pyproject.toml README.rst ./
RUN mkdir -p flit \
&& python -m flit install --only-deps --deps develop \
&& rm -r pyproject.toml README.rst flit

// ENV FLIT_ALLOW_INVALID=1

// COPY pyproject.toml .
// RUN python -m flit install --only-deps --deps develop \
// && rm -r pyproject.toml
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
&& python -m pip install 'flit>=3.8.0'
ENV FLIT_ROOT_INSTALL=1
COPY pyproject.toml README.rst ./
RUN mkdir -p flit \
&& python -m flit install --only-deps --deps develop \
&& rm -r pyproject.toml README.rst flit
// ENV FLIT_ALLOW_INVALID=1
// COPY pyproject.toml .
// RUN python -m flit install --only-deps --deps develop \
// && rm -r pyproject.toml
&& python -m pip install 'flit>=3.8.1'
ENV FLIT_ROOT_INSTALL=1
ENV FLIT_ALLOW_INVALID=1
COPY pyproject.toml .
RUN python -m flit install --only-deps --deps develop \
&& rm -r pyproject.toml

Copy link
Contributor Author

Choose a reason for hiding this comment

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

after this PR is completed, we can update the docker file.
#631

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.

1 participant