Skip to content

Commit 86e7af4

Browse files
authored
Merge pull request #333 from openworm/development
Remove JNML_HOME; test pulling image from dockerhub
2 parents 4d186f4 + a1fe2ff commit 86e7af4

File tree

4 files changed

+45
-5
lines changed

4 files changed

+45
-5
lines changed

.github/workflows/docker-image-quickrun.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: Build the Docker image
1818
run: |
1919
chmod a+w output/

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: Build the Docker image
1818
run: |
1919
chmod a+w output/

.github/workflows/docker-pull.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Docker Pull Test
2+
3+
on:
4+
push:
5+
branches: [ master, dev* ]
6+
pull_request:
7+
branches: [ master, dev* ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Run the Docker image
19+
run: |
20+
# Don't build. Will be pulled when run below
21+
./run.sh
22+
23+
- name: Info on Docker images
24+
run: |
25+
docker -v
26+
docker images
27+
28+
- name: Run the Docker image - no c302
29+
run: |
30+
# Shouldn't need to pull again.
31+
./stop.sh
32+
./run-quick.sh
33+
34+
- name: Info on Docker images
35+
run: |
36+
docker -v
37+
docker images
38+
39+
- name: Info on generated files
40+
run: |
41+
ls -alt
42+
ls -alt output
43+
ls -alt output/*

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ RUN git clone https://github.com/openworm/sibernetic.git && \
9090
################################################################################
9191
######## Set some paths//environment variables
9292

93-
ENV JNML_HOME=$HOME/jNeuroML
94-
ENV PATH=$PATH:$JNML_HOME
95-
9693
ENV C302_HOME=$HOME/c302/c302
9794
ENV SIBERNETIC_HOME=$HOME/sibernetic
9895
ENV PYTHONPATH=$PYTHONPATH:$HOME/c302:$SIBERNETIC_HOME

0 commit comments

Comments
 (0)