5
5
# Builds on top of:
6
6
# - docker/Dockerfile.nb-image-class
7
7
# - docker/Dockerfile.nb-gene-expr-pred
8
+ # - docker/Dockerfile.nb-obj-detect
8
9
#
9
10
# The contents of `NB_APT_PKGS_RUN` come from those `Dockerfile`s.
10
11
ARG NB_APT_PKGS_RUN=" \
11
12
libjpeg-turbo8 libpng16-16 libgsl23 \
12
13
samtools libhts3 tabix libxml2 libexpat1 libdb5.3 netpbm gnuplot-nox \
14
+ libjpeg-turbo8 libpng16-16 netpbm gnuplot-nox \
13
15
"
14
16
15
17
FROM base as omnibus
@@ -23,6 +25,7 @@ USER root
23
25
24
26
COPY --from=nb-image-class /perl5-nb /perl5-nb-image-class
25
27
COPY --from=nb-gene-expr-pred /perl5-nb /perl5-nb-gene-expr-pred
28
+ COPY --from=nb-obj-detect /perl5-nb /perl5-nb-obj-detect
26
29
27
30
RUN apt-get update && apt-get install -y --no-install-recommends $NB_APT_PKGS_RUN
28
31
@@ -32,8 +35,8 @@ RUN apt-get -qq purge \
32
35
33
36
RUN \
34
37
mkdir -p /perl5-nb \
35
- && cp -pR /perl5-nb-image-class/. /perl5-nb-gene-expr-pred/. /perl5-nb/ \
36
- && rm -Rf /perl5-nb-image-class /perl5-nb-gene-expr-pred
38
+ && cp -pR /perl5-nb-image-class/. /perl5-nb-gene-expr-pred/. /perl5-nb-obj-detect/. /perl5-nb / \
39
+ && rm -Rf /perl5-nb-image-class /perl5-nb-gene-expr-pred /perl5-nb-obj-detect
37
40
38
41
RUN chown -R ${NB_USER}:${NB_USER} /perl5-nb
39
42
@@ -45,6 +48,7 @@ RUN bash -c ' \
45
48
for NB_POD in \
46
49
AI::TensorFlow::Libtensorflow::Manual::Notebook::InferenceUsingTFHubMobileNetV2Model \
47
50
AI::TensorFlow::Libtensorflow::Manual::Notebook::InferenceUsingTFHubEnformerGeneExprPredModel \
51
+ AI::TensorFlow::Libtensorflow::Manual::Notebook::InferenceUsingTFHubCenterNetObjDetect \
48
52
; do \
49
53
plx perl -c $( plx perl -MPod::Simple::Search -e "print Pod::Simple::Search->new->find(shift @ARGV)" $NB_POD ); \
50
54
done;'
0 commit comments