Skip to content

Commit

Permalink
fix: docker image template to work on AWS (#256)
Browse files Browse the repository at this point in the history
Signed-off-by: SdgJlbl <sarah.diot-girard@owkin.com>
  • Loading branch information
SdgJlbl authored Oct 14, 2024
1 parent 7c92e0d commit 132f869
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes/256.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Patch to make the generated Dockerfile compatible with kaniko behaviour on AWS.
2 changes: 1 addition & 1 deletion substrafl/remote/register/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
RUN python{python_version} -m pip install --no-cache-dir -r requirements.txt
USER root
RUN apt-get purge -y --auto-remove build-essential *-dev
RUN apt-get update -y && apt-get purge -y --auto-remove build-essential *-dev
USER user
# Copy all other files
Expand Down
2 changes: 1 addition & 1 deletion tests/remote/register/test_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def test_create_dockerfile(tmp_path, local_installable_module):
RUN python{python_version} -m pip install --no-cache-dir -r requirements.txt
USER root
RUN apt-get purge -y --auto-remove build-essential *-dev
RUN apt-get update -y && apt-get purge -y --auto-remove build-essential *-dev
USER user
# Copy all other files
Expand Down

0 comments on commit 132f869

Please sign in to comment.