File tree Expand file tree Collapse file tree
build_artifacts/v3/v3.1/v3.1.0 Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ ENV MAMBA_USER=$NB_USER
4949ENV USER=$NB_USER
5050
5151RUN 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
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ ENV MAMBA_USER=$NB_USER
4949ENV USER=$NB_USER
5050
5151RUN 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
You can’t perform that action at this time.
0 commit comments