Skip to content

Commit 8b8882b

Browse files
committed
Add MaxDome changes to V3 Dockerfile
1 parent 03cd884 commit 8b8882b

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

build_artifacts/v3/v3.1/v3.1.0/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ENV MAMBA_USER=$NB_USER
4949
ENV USER=$NB_USER
5050

5151
RUN apt-get update && apt-get upgrade -y && \
52-
apt-get install -y --no-install-recommends sudo gettext-base wget curl unzip git rsync build-essential openssh-client nano cron less mandoc && \
52+
apt-get install -y --no-install-recommends sudo gettext-base wget curl unzip git rsync build-essential openssh-client nano cron less mandoc jq ca-certificates gnupg && \
5353
# We just install tzdata below but leave default time zone as UTC. This helps packages like Pandas to function correctly.
5454
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata krb5-user libkrb5-dev libsasl2-dev libsasl2-modules && \
5555
chmod g+w /etc/passwd && \
@@ -185,7 +185,9 @@ RUN mkdir -p $SAGEMAKER_LOGGING_DIR && \
185185
chmod a+rw $SAGEMAKER_LOGGING_DIR && \
186186
mkdir -p ${STUDIO_LOGGING_DIR} && \
187187
chown ${NB_USER}:${MAMBA_USER} ${STUDIO_LOGGING_DIR} && \
188-
188+
# Create sagemaker pysdk admin default config directory
189+
mkdir -p /etc/xdg/sagemaker && \
190+
chmod a+rw /etc/xdg/sagemaker && \
189191
# Clean up CodeEditor artifacts
190192
rm -rf /etc/code-editor && \
191193
# Create supervisord runtime directory

template/v3/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ENV MAMBA_USER=$NB_USER
4949
ENV USER=$NB_USER
5050

5151
RUN apt-get update && apt-get upgrade -y && \
52-
apt-get install -y --no-install-recommends sudo gettext-base wget curl unzip git rsync build-essential openssh-client nano cron less mandoc && \
52+
apt-get install -y --no-install-recommends sudo gettext-base wget curl unzip git rsync build-essential openssh-client nano cron less mandoc jq ca-certificates gnupg && \
5353
# We just install tzdata below but leave default time zone as UTC. This helps packages like Pandas to function correctly.
5454
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata krb5-user libkrb5-dev libsasl2-dev libsasl2-modules && \
5555
chmod g+w /etc/passwd && \
@@ -185,7 +185,9 @@ RUN mkdir -p $SAGEMAKER_LOGGING_DIR && \
185185
chmod a+rw $SAGEMAKER_LOGGING_DIR && \
186186
mkdir -p ${STUDIO_LOGGING_DIR} && \
187187
chown ${NB_USER}:${MAMBA_USER} ${STUDIO_LOGGING_DIR} && \
188-
188+
# Create sagemaker pysdk admin default config directory
189+
mkdir -p /etc/xdg/sagemaker && \
190+
chmod a+rw /etc/xdg/sagemaker && \
189191
# Clean up CodeEditor artifacts
190192
rm -rf /etc/code-editor && \
191193
# Create supervisord runtime directory

0 commit comments

Comments
 (0)