Skip to content

Commit 0bff128

Browse files
committed
[DEV] Update SAM Model (#66, #87, #88)
2 parents 27c8c58 + 5f8235c commit 0bff128

File tree

9 files changed

+645
-246
lines changed

9 files changed

+645
-246
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
if: (branch != master) OR (fork = true)
3030
name: "Build and test"
3131
script:
32-
- docker pull fentechai/nv-cdt-base:20.07
32+
- docker pull fentechai/nv-cdt-env-base:21.01
3333
- docker build --build-arg python=3.6 --build-arg spy=36 -t fentechai/cdt-dev .
3434
- if [[ $TRAVIS_PULL_REQUEST == "false" ]]; then
3535
docker run -e CODECOV_TOKEN --rm fentechai/cdt-dev /bin/sh -c 'cd /CDT && pip3 uninstall cdt -y && python3 setup.py install develop --user && pytest --cov-report= --cov=./cdt && codecov --token $CODECOV_TOKEN';
@@ -62,7 +62,7 @@ jobs:
6262
name: "Build and push 3.6 image for testing"
6363
script:
6464
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
65-
- docker pull fentechai/cdt-base:20.07
65+
- docker pull fentechai/cdt-env-base:21.01
6666
- docker build --build-arg python=3.6 --build-arg spy=36 -t fentechai/cdt-test .
6767
- docker push fentechai/cdt-test
6868
- stage: test
@@ -97,7 +97,7 @@ jobs:
9797
- git pull
9898
- VERSION_NEW=$(cat setup.py| grep version | cut -c 20- | rev | cut -c 3- | rev)
9999
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
100-
- docker pull fentechai/cdt-base:20.07
100+
- docker pull fentechai/cdt-env-base:21.01
101101
- docker build --build-arg python=3.6 --build-arg spy=36 -t fentechai/cdt:$VERSION_NEW .
102102
- docker push fentechai/cdt:$VERSION_NEW
103103
- docker tag fentechai/cdt:$VERSION_NEW fentechai/cdt:latest
@@ -108,7 +108,7 @@ jobs:
108108
- git pull
109109
- VERSION_NEW=$(cat setup.py| grep version | cut -c 20- | rev | cut -c 3- | rev)
110110
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
111-
- docker pull fentechai/nv-cdt-base:20.07
111+
- docker pull fentechai/nv-cdt-env-base:21.01
112112
- docker build --build-arg python=3.6 --build-arg spy=36 -f nv-Dockerfile -t fentechai/nv-cdt:$VERSION_NEW .
113113
- docker push fentechai/nv-cdt:$VERSION_NEW
114114
- docker tag fentechai/nv-cdt:$VERSION_NEW fentechai/nv-cdt:latest

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fentechai/cdt-base:20.07
1+
FROM fentechai/cdt-env-base:21.01
22
MAINTAINER Diviyan Kalainathan <[email protected]>
33
LABEL description="Docker image for the Causal Discovery Toolbox"
44
ARG python
@@ -7,6 +7,7 @@ ARG spy
77
RUN mkdir -p /CDT
88
COPY . /CDT
99
RUN cd /CDT && \
10+
add-apt-repository ppa:deadsnakes/ppa -y && \
1011
apt-get update --allow-unauthenticated && \
1112
apt-get -q install "python${python}" "python${python}-dev" python3-pip python3-setuptools -y && \
1213
rm /usr/bin/python3 && ln -s /usr/bin/python${python} /usr/bin/python3 && \

0 commit comments

Comments
 (0)