Skip to content

fix: dockerfile stuck on interactive shell #5261

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions tests/integ/sagemaker/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@

import base64
import os
import subprocess
import shutil
import pytest
import docker
import re
import shutil
import subprocess
import sys

import docker
import pytest
from docker.errors import BuildError

from sagemaker.utils import sagemaker_timestamp, _tmpdir, sts_regional_endpoint
from sagemaker.utils import _tmpdir, sagemaker_timestamp, sts_regional_endpoint

REPO_ACCOUNT_ID = "033110030271"

Expand Down Expand Up @@ -68,7 +68,7 @@
"RUN curl 'https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip' -o 'awscliv2.zip' \
&& unzip awscliv2.zip \
&& ./aws/install\n\n"
"RUN apt install sudo\n"
"RUN apt install -y sudo\n"
"RUN useradd -ms /bin/bash integ-test-user\n"
# Add the user to sudo group
"RUN usermod -aG sudo integ-test-user\n"
Expand Down
Loading