Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
d248e768
Unverified
Commit
d248e768
authored
Aug 18, 2022
by
Rhett Ying
Committed by
GitHub
Aug 18, 2022
Browse files
[CI] enable ssh in docker image for dist test (#4432)
parent
e14860d9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
Jenkinsfile
Jenkinsfile
+1
-1
docker/Dockerfile.ci_cpu
docker/Dockerfile.ci_cpu
+6
-1
docker/install/ubuntu_install_core.sh
docker/install/ubuntu_install_core.sh
+2
-1
No files found.
Jenkinsfile
View file @
d248e768
...
...
@@ -464,7 +464,7 @@ pipeline {
agent
{
docker
{
label
"linux-cpu-node"
image
"dgllib/dgl-ci-cpu:v22081
6
"
image
"dgllib/dgl-ci-cpu:
ssh_
v22081
8
"
args
"--shm-size=4gb"
alwaysPull
true
}
...
...
docker/Dockerfile.ci_cpu
View file @
d248e768
...
...
@@ -30,3 +30,8 @@ COPY install/conda_env/mxnet_cpu.yml /install/conda_env/mxnet_cpu.yml
RUN ["/bin/bash", "-i", "-c", "conda env create -f /install/conda_env/mxnet_cpu.yml"]
ENV CONDA_ALWAYS_YES=
# SSH
RUN ["/bin/bash", "-i", "-c", "ssh-keygen -f ~/.ssh/id_rsa -N ''"]
RUN ["/bin/bash", "-i", "-c", "cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys"]
ENTRYPOINT service ssh restart && bash
docker/install/ubuntu_install_core.sh
View file @
d248e768
...
...
@@ -2,4 +2,5 @@
apt update
&&
apt
install
-y
--no-install-recommends
--force-yes
\
apt-utils git build-essential make wget unzip
sudo
\
libz-dev libxml2-dev libopenblas-dev libopencv-dev
\
graphviz graphviz-dev libgraphviz-dev ca-certificates
graphviz graphviz-dev libgraphviz-dev ca-certificates
\
systemd vim openssh-client openssh-server
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment