|
@@ -96,14 +96,14 @@ RUN cd /opt/conda/lib/python3.9/site-packages/ \
|
|
|
&& /opt/conda/bin/jupyter serverextension enable --py sparkmagic
|
|
|
RUN /opt/conda/bin/pip install dist/*.whl -i https://pypi.douban.com/simple
|
|
|
ADD confs/krb5.conf /etc/
|
|
|
-ADD confs/config.json ~/.sparkmagic
|
|
|
-ADD emr-5xjsy31f_ailab.keytab .
|
|
|
+ADD confs/config.json ~/.sparkmagic/config.json
|
|
|
+ADD emr-5xjsy31f_ailab.keytab /
|
|
|
# RUN kinit -k -t emr-5xjsy31f_ailab.keytab ailab
|
|
|
|
|
|
RUN echo "\
|
|
|
[program:jupyter]\n\
|
|
|
directory=/workspace\n\
|
|
|
-command=/bin/bash -c 'kinit -k -t emr-5xjsy31f_ailab.keytab ailab && /opt/conda/bin/jupyter lab --ip 0.0.0.0 --port 8888 --allow-root --no-browser' \n\
|
|
|
+command=/bin/bash -c 'kinit -k -t /emr-5xjsy31f_ailab.keytab ailab && /opt/conda/bin/jupyter lab --ip 0.0.0.0 --port 8888 --allow-root --no-browser' \n\
|
|
|
autorestart=true\n\
|
|
|
startretries=0\n\
|
|
|
redirect_stderr=true\n\
|