Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Update CA Certificates Before Installing Poetry
  • Loading branch information
ajoaugustine authored Feb 7, 2025
1 parent 8628873 commit defd869
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Docker/awshelper/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,13 @@ RUN cp cloud-automation/Docker/awshelper/sshdStart.sh /opt/usersshd/ \
RUN cd ./cloud-automation \
&& cat ./Docker/awshelper/bashrc_suffix.sh >> ~/.bashrc

RUN export DEB_PYTHON_INSTALL_LAYOUT=deb && export POETRY_VERSION=1.1.15 && curl -sSL https://install.python-poetry.org | python3 -
# Ensure CA certificates are updated before installing Poetry
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates

# Fix SSL verification issue and install Poetry
RUN export DEB_PYTHON_INSTALL_LAYOUT=deb \
&& export POETRY_VERSION=1.1.15 \
&& curl -sSL https://install.python-poetry.org | python3 -

RUN git config --global user.email gen3 \
&& git config --global user.name gen3
Expand Down

0 comments on commit defd869

Please sign in to comment.