Aside from using the Domino Base Images, we encounter users who would opt to use external base images. One of these is Amazon AWS Glue Libs. Seen below are the steps on creating an environment using Amazon AWS GLUE Libs
[Note: This doc is designed to build a Compute Environment with Amazon/aws-glue-
libs:glue_libs_3.0.0_image_01 AWS Glue image as base image. However, you can use other
available tags of same image to build the environment ]
1. Navigate to the environments page from Domino UI and click “create environment” on
the top right corner. (For more info: Create An Environment)
2. Please refer to image below for next steps and provide custom base image as
amazon/aws-glue-libs:glue_libs_3.0.0_image_01:
(Please Note: Setting the visibility to “Globally Accessible” makes the environment accessible to all users. However, you can also set visibility either as Private or available to an organization as per requirement.)
3. After Selecting “customize before building”, add following lines in “Additional Dockerfile instructions” section:
# Install IPython
RUN python3 -m pip install ipython
# Install python3 kernel
RUN python3 -m pip install ipykernel
RUN python3 -m ipykernel install --user
# Default to python3
RUN if [ -x /usr/bin/python3 ]; then \
ln -sf /usr/bin/python3 /usr/bin/python; \
fi && if [ -x /usr/bin/pip3 ]; then \
ln -sf /usr/bin/pip3 /usr/bin/pip; \
fi
After adding above instructions, Additional Dockerfile instructions shall look like:
4. Hit the “build” button after adding docker instructions and you would just need to wait for it to complete the build. Once done you will see something similar to the image below.
** Note make sure you do not change anything on the Pluggable Workspace Tools as they are set as default.
5. Now all you need to do is to test your environment by opening a workspace.
**Associated Links:
Create an Environment
Comments
0 comments
Please sign in to leave a comment.