Commit fe502da nick
committed
1 parent 1e7b447 commit fe502da Copy full SHA for fe502da
File tree 3 files changed +22
-2
lines changed
3 files changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ RUN apt-get -qy upgrade
13
13
14
14
# Install the packages we need
15
15
RUN apt-get install -qy \
16
+ bash \
16
17
build-essential \
17
18
bzip2 \
18
19
ca-certificates \
@@ -117,8 +118,9 @@ RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requ
117
118
&& rm -rf /tmp/pip-tmp
118
119
119
120
COPY .devcontainer/init.sh /docker-init.sh
120
- RUN chmod +x /docker-init.sh
121
- ENTRYPOINT ["/docker-init.sh" ]
121
+ RUN sed -i 's/\r $//' /docker-init.sh && \
122
+ chmod +x /docker-init.sh
123
+ # ENTRYPOINT ["/usr/local/share/datatracker/.devcontainer/init.sh"]
122
124
CMD ["sleep" , "infinity" ]
123
125
124
126
# [Optional] Uncomment this section to install additional OS packages.
Original file line number Diff line number Diff line change 6
6
"service" : "app" ,
7
7
"workspaceFolder" : "/usr/local/share/datatracker" ,
8
8
"shutdownAction" : "stopCompose" ,
9
+ "postCreateCommand" : "/docker-init.sh" ,
9
10
10
11
// Set *default* container specific settings.json values on container create.
11
12
"settings" : {
Original file line number Diff line number Diff line change 41
41
"clear" : false
42
42
},
43
43
"problemMatcher" : []
44
+ },
45
+ {
46
+ "label" : " Re-run Setup Project" ,
47
+ "type" : " shell" ,
48
+ "command" : " /bin/bash" ,
49
+ "args" : [
50
+ " /docker-init.sh"
51
+ ],
52
+ "presentation" : {
53
+ "echo" : true ,
54
+ "reveal" : " always" ,
55
+ "focus" : true ,
56
+ "panel" : " new" ,
57
+ "showReuseMessage" : false ,
58
+ "clear" : false
59
+ },
60
+ "problemMatcher" : []
44
61
}
45
62
]
46
63
}
You can’t perform that action at this time.
0 commit comments