55# Builds on top of:
66# - docker/Dockerfile.nb-image-class
77# - docker/Dockerfile.nb-gene-expr-pred
8+ # - docker/Dockerfile.nb-obj-detect
89#
910# The contents of `NB_APT_PKGS_RUN` come from those `Dockerfile`s.
1011ARG NB_APT_PKGS_RUN=" \
1112libjpeg-turbo8 libpng16-16 libgsl23 \
1213samtools libhts3 tabix libxml2 libexpat1 libdb5.3 netpbm gnuplot-nox \
14+ libjpeg-turbo8 libpng16-16 netpbm gnuplot-nox \
1315"
1416
1517FROM base as omnibus
@@ -23,6 +25,7 @@ USER root
2325
2426COPY --from=nb-image-class /perl5-nb /perl5-nb-image-class
2527COPY --from=nb-gene-expr-pred /perl5-nb /perl5-nb-gene-expr-pred
28+ COPY --from=nb-obj-detect /perl5-nb /perl5-nb-obj-detect
2629
2730RUN apt-get update && apt-get install -y --no-install-recommends $NB_APT_PKGS_RUN
2831
@@ -32,8 +35,8 @@ RUN apt-get -qq purge \
3235
3336RUN \
3437 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
3740
3841RUN chown -R ${NB_USER}:${NB_USER} /perl5-nb
3942
@@ -45,6 +48,7 @@ RUN bash -c ' \
4548 for NB_POD in \
4649 AI::TensorFlow::Libtensorflow::Manual::Notebook::InferenceUsingTFHubMobileNetV2Model \
4750 AI::TensorFlow::Libtensorflow::Manual::Notebook::InferenceUsingTFHubEnformerGeneExprPredModel \
51+ AI::TensorFlow::Libtensorflow::Manual::Notebook::InferenceUsingTFHubCenterNetObjDetect \
4852 ; do \
4953 plx perl -c $( plx perl -MPod::Simple::Search -e "print Pod::Simple::Search->new->find(shift @ARGV)" $NB_POD ); \
5054 done;'
0 commit comments