File tree Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change 21
21
"extensions" : [" learn-pack.learnpack-vscode" ]
22
22
}
23
23
},
24
- "onCreateCommand" : " pip3 install pytest==4.6.0 pytest-testdox mock && npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0"
24
+ "onCreateCommand" : " pip3 install pytest==6.2.5 pytest-testdox mock && npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0"
25
25
26
26
// Features to add to the dev container. More info: https://containers.dev/features.
27
27
// "features": {},
Original file line number Diff line number Diff line change 3
3
4
4
! .gitignore
5
5
! .gitpod.yml
6
+ ! .devcontainer
7
+ ! .devcontainer /*
6
8
! .gitpod.Dockerfile
7
9
! bc.json
8
10
! learn.json
Original file line number Diff line number Diff line change 1
-
2
1
FROM gitpod/workspace-full:latest
3
2
3
+ SHELL ["/bin/bash" , "-c" ]
4
+
5
+ RUN sudo apt-get update \
6
+ && sudo apt-get update \
7
+ && sudo apt-get clean \
8
+ && sudo rm -rf /var/cache/apt/* /var/lib/apt/lists/* /tmp/*
9
+
10
+ # That Gitpod install pyenv for me? no, thanks
11
+ WORKDIR /home/gitpod/
12
+ RUN rm .pyenv -Rf
13
+ RUN rm .gp_pyenv.d -Rf
14
+ RUN curl https://pyenv.run | bash
15
+
16
+
17
+ RUN pyenv update && pyenv install 3.10.7 && pyenv global 3.10.7
18
+ RUN pip install pipenv
19
+
20
+ # remove PIP_USER environment
4
21
USER gitpod
22
+ RUN if ! grep -q "export PIP_USER=no" "$HOME/.bashrc" ; then printf '%s\n ' "export PIP_USER=no" >> "$HOME/.bashrc" ; fi
23
+ RUN echo "" >> $HOME/.bashrc
24
+ RUN echo "unset DATABASE_URL" >> $HOME/.bashrc
25
+ RUN echo "export DATABASE_URL" >> $HOME/.bashrc
5
26
6
- RUN pip3 install pytest==4.4.2 pytest-testdox mock
27
+ RUN pip3 install pytest==6.2.5 pytest-testdox mock
7
28
RUN npm i @learnpack/learnpack@2.1.20 -g && learnpack plugins:install @learnpack/python@1.0.0
You can’t perform that action at this time.
0 commit comments