Skip to content

Commit

Permalink
fix: pip, black, setuptools, twine, wheel, and aws-sam-cli incorrectl…
Browse files Browse the repository at this point in the history
…y installed in superchain

The packages were installed in a virtual environment, which is not subsequently re-activated in
the image's ENTRYPOINT. Instead, install the packages 'globally'
  • Loading branch information
RomainMuller committed Aug 2, 2023
1 parent 3232344 commit f9f6892
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions superchain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ ENV PATH=$PATH:${CARGO_HOME}/bin
# Install Python 3
RUN apt-get update \
&& apt-get -y install python3 python3-dev python3-pip python3-venv \
&& python3 -m venv .venv \
&& source .venv/bin/activate \
&& python3 -m pip install --no-input --upgrade pip \
&& python3 -m pip install --no-input --upgrade black setuptools twine wheel aws-sam-cli \
&& rm -rf $(pip cache dir) \
Expand Down

0 comments on commit f9f6892

Please sign in to comment.