Skip to content

Dev Container for VS Code Python Extension #21435

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

Merged
merged 7 commits into from
Jun 26, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove pip file as deemed unnecessary
  • Loading branch information
anthonykim1 committed Jun 14, 2023
commit ea4ebe7ce1c5f771b542752cc0a04197ad09a33f
24 changes: 2 additions & 22 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,13 @@ RUN dnf -y --nodocs install /usr/bin/{python3.7,python3.8,python3.9,python3.10,p
dnf clean all


# RUN dnf module install nodejs:16
# Install make.
# RUN yum install -y make
# Install pip.
# below without . Check pip is available from python version itself try without
RUN curl -L https://bootstrap.pypa.io/pip/pip.pyz --output pip.pyz
# Install nvm, load nvm, and load nvm bash_completion

# ENV version for node version, nvm version, npm version
ENV NVM_VERSION=0.39.3
ENV NODE_VERSION=16.17.1
ENV NPM_VERSION=8.19.3

# Install nvm, load nvm, and load nvm bash_completion
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v$NVM_VERSION/install.sh | bash
RUN export NVM_DIR="$HOME/.nvm" && \
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
Expand All @@ -32,18 +27,3 @@ ENV DISABLE_TRANSLATIONS=true






# -------------------Notes---------------------
# pretend dockerfile has no source code
# everything til git clone.

# virtual environment here? => if we are downloading other stuff here

#RUN can run any shell commands.
#set env variable
# when done, save state of everything,
# ---------------------------------------------