Skip to content

Commit eb13102

Browse files
authored
fix: dockerfile stuck on interactive shell (#5261)
1 parent 73bdd08 commit eb13102

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/integ/sagemaker/conftest.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414

1515
import base64
1616
import os
17-
import subprocess
18-
import shutil
19-
import pytest
20-
import docker
2117
import re
18+
import shutil
19+
import subprocess
2220
import sys
2321

22+
import docker
23+
import pytest
2424
from docker.errors import BuildError
2525

26-
from sagemaker.utils import sagemaker_timestamp, _tmpdir, sts_regional_endpoint
26+
from sagemaker.utils import _tmpdir, sagemaker_timestamp, sts_regional_endpoint
2727

2828
REPO_ACCOUNT_ID = "033110030271"
2929

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

0 commit comments

Comments
 (0)