File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1
1
# Note: You can use any Debian/Ubuntu based image you want.
2
- FROM mcr.microsoft.com/devcontainers/base: bullseye
2
+ FROM mcr.microsoft.com/devcontainers/python:3.7- bullseye
3
3
4
4
RUN \
5
5
apt update && \
6
- apt-get install bash-completion graphviz default-mysql-client -y
6
+ apt-get install bash-completion graphviz default-mysql-client -y && \
7
+ pip install flake8 black faker ipykernel nose nose-cov datajoint && \
8
+ pip uninstall datajoint -y
7
9
8
10
ENV DJ_HOST fakeservices.datajoint.io
9
11
ENV DJ_USER root
Original file line number Diff line number Diff line change 13
13
"ghcr.io/devcontainers/features/docker-in-docker:2" : {},
14
14
"ghcr.io/devcontainers/features/git:1" : {},
15
15
"ghcr.io/eitsupi/devcontainer-features/jq-likes:1" : {},
16
- "ghcr.io/guiyomh/features/vim:0" : {},
17
- "ghcr.io/devcontainers/features/python:1" : {
18
- "version" : " 3.7"
19
- }
16
+ "ghcr.io/guiyomh/features/vim:0" : {}
20
17
},
21
- "postCreateCommand " : " pip install flake8 black faker ipykernel nose nose-cov && pip install -e . && MYSQL_VER=5.7 MINIO_VER=RELEASE.2022-08-11T04-37-28Z docker compose -f local-docker-compose.yml up --build -d" ,
18
+ "onCreateCommand " : " pip install -e . && MYSQL_VER=5.7 MINIO_VER=RELEASE.2022-08-11T04-37-28Z docker compose -f local-docker-compose.yml up --build -d" ,
22
19
"customizations" : {
23
20
"vscode" : {
24
21
"extensions" : [
You can’t perform that action at this time.
0 commit comments