Skip to content

Commit 6256eda

Browse files
committed
WIP basic conda image from jupyter/docker-stacks-foundation
1 parent bae66d2 commit 6256eda

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
ARG IMAGE=djbase
1+
ARG IMAGE=jupyter/docker-stacks-foundation
22
ARG PY_VER=3.9
33
ARG DISTRO=debian
4-
FROM datajoint/${IMAGE}:py${PY_VER}-${DISTRO}
4+
FROM ${IMAGE}
5+
RUN conda install -y -n base -c conda-forge python=${PY_VER} && \
6+
conda clean -afy
57
COPY --chown=anaconda:anaconda ./setup.py ./datajoint.pub ./requirements.txt /main/
68
COPY --chown=anaconda:anaconda ./datajoint /main/datajoint
79
RUN \

LNX-docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,12 @@ services:
6060
app:
6161
<<: *net
6262
image: datajoint/djtest:py${PY_VER:-3.8}-${DISTRO:-alpine}
63+
build:
64+
context: .
65+
dockerfile: Dockerfile
66+
args:
67+
PY_VER: ${PY_VER:-3.8}
68+
DISTRO: ${DISTRO:-alpine}
6369
depends_on:
6470
db:
6571
condition: service_healthy

0 commit comments

Comments
 (0)