forked from eclipse-cdt/cdt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a version of Dockerfiles with node included for cdt-gdb-adapter
This is a convenience for our sister project, eclipse-cdt-cloud, that are relying on CDT's infrastructure to do some testing. See https://github.com/eclipse-cdt-cloud/cdt-gdb-adapter/blob/main/src/integration-tests/README.md#running-the-tests-using-docker
- Loading branch information
1 parent
c51cecd
commit 84b5a4c
Showing
4 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
This directory contains a convenience for the Eclipse CDT Cloud's cdt-gdb-adapter project that exists | ||
for historical reasons. See this reference https://github.com/eclipse-cdt-cloud/cdt-gdb-adapter/blob/main/src/integration-tests/README.md#running-the-tests-using-docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM cdt-infra-eclipse-full:ubuntu-18.04 | ||
USER root | ||
|
||
#Node | ||
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash \ | ||
&& apt-get install -y nodejs \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& npm install -g yarn | ||
|
||
# socat needed for some cdt-gdb-adapter tests | ||
RUN apt-get update && apt-get install -y socat && rm -rf /var/lib/apt/lists/* | ||
|
||
#Fix permissions for OpenShift & standard k8s | ||
RUN chown -R 1000:0 ${HOME} \ | ||
&& chmod -R g+rwX ${HOME} | ||
|
||
ENV USER_NAME vnc | ||
USER 1000 | ||
WORKDIR ${HOME} | ||
|
||
CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters