File tree Expand file tree Collapse file tree 3 files changed +22
-2
lines changed
Expand file tree Collapse file tree 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
1313
1414# Install the packages we need
1515RUN apt-get install -qy \
16+ bash \
1617 build-essential \
1718 bzip2 \
1819 ca-certificates \
@@ -117,8 +118,9 @@ RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requ
117118 && rm -rf /tmp/pip-tmp
118119
119120COPY .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"]
122124CMD ["sleep" , "infinity" ]
123125
124126# [Optional] Uncomment this section to install additional OS packages.
Original file line number Diff line number Diff line change 66 "service" : " app" ,
77 "workspaceFolder" : " /usr/local/share/datatracker" ,
88 "shutdownAction" : " stopCompose" ,
9+ "postCreateCommand" : " /docker-init.sh" ,
910
1011 // Set *default* container specific settings.json values on container create.
1112 "settings" : {
Original file line number Diff line number Diff line change 4141 "clear" : false
4242 },
4343 "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" : []
4461 }
4562 ]
4663}
You can’t perform that action at this time.
0 commit comments