|
@@ -74,7 +74,7 @@ FROM builder1 as builder2
|
|
|
WORKDIR /workspace
|
|
|
|
|
|
COPY --from=builder-fe /src/dist dist
|
|
|
-RUN /opt/conda/bin/pip install dist/*.whl -i https://pypi.douban.com/simple
|
|
|
+RUN /opt/conda/bin/pip install dist/*.whl -i https://mirror.baidu.com/pypi/simple
|
|
|
RUN /opt/conda/bin/pip install jupyterlab-language-pack-zh-CN -i https://pypi.douban.com/simple
|
|
|
RUN mamba install nodejs
|
|
|
# password 'sx'
|
|
@@ -94,9 +94,10 @@ RUN cd /opt/conda/lib/python3.9/site-packages/ \
|
|
|
&& jupyter-kernelspec install sparkmagic/kernels/sparkkernel --user \
|
|
|
&& jupyter-kernelspec install sparkmagic/kernels/pysparkkernel --user\
|
|
|
&& /opt/conda/bin/jupyter serverextension enable --py sparkmagic
|
|
|
-RUN /opt/conda/bin/pip install dist/*.whl -i https://pypi.douban.com/simple
|
|
|
+RUN /opt/conda/bin/pip install dist/*.whl -i https://mirror.baidu.com/pypi/simple
|
|
|
ADD confs/krb5.conf /etc/
|
|
|
-ADD confs/config.json ~/.sparkmagic/config.json
|
|
|
+ADD confs/config.json .
|
|
|
+RUN mkdir -p $HOME/.sparkmagic && cp config.json $HOME/.sparkmagic
|
|
|
ADD emr-5xjsy31f_ailab.keytab /
|
|
|
# RUN kinit -k -t emr-5xjsy31f_ailab.keytab ailab
|
|
|
|