Skip to content

Commit

Permalink
fixup! Reduce size of the final GSC image
Browse files Browse the repository at this point in the history
Signed-off-by: abin <[email protected]>
  • Loading branch information
amathew3 committed Apr 24, 2023
1 parent b2a0f70 commit bdefb2d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/debian/Dockerfile.build.template
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ RUN apt-get update \
# For compatibility with Gramine v1.3 or lower
&& /usr/bin/python3 -B -m pip install 'toml>=0.10' \
# Since all needed pip packages are installed, we can uninstall python3-pip safely
&& apt remove -y python3-pip && apt autoremove -y \
&& apt remove -y python3-pip \
&& apt autoremove -y \
&& rm -rf /var/lib/apt/lists/*


{% if debug %}
RUN env DEBIAN_FRONTEND=noninteractive apt-get install -y \
RUN apt-get update \
&& env DEBIAN_FRONTEND=noninteractive apt-get install -y \
gdb \
less \
libunwind8 \
Expand Down

0 comments on commit bdefb2d

Please sign in to comment.