Skip to content

Commit

Permalink
correct yum clean to tdnf clean
Browse files Browse the repository at this point in the history
  • Loading branch information
lonegunmanb committed Feb 27, 2025
1 parent 5d3e799 commit e3c8d7a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ ENV TFLINTENV_DEFAULT_VERSION=$TFLINT_VERSION
ENV TFLINTENV_HOME_DIR=${HOME_DIR}/tflintenv
# Update image, install and configure system-wide software
RUN tdnf install -y ca-certificates zip unzip jq make git less diffutils build-essential openssh-server wget moby-cli && \
tdnf clean all && \
pip3 install cryptography -U && \
pip install azure-cli && \
cd / && \
Expand All @@ -111,6 +112,6 @@ RUN cp /root/.gitconfig ${HOME_DIR}/.gitconfig && \
chmod -Rv a+rwX ${HOME_DIR} && \
chmod 777 ${HOME_DIR}/tfenv/bin/* && \
chmod 777 ${HOME_DIR}/pkenv/bin/* && \
rm -r /tmp/* && \
yum clean all
rm -r /tmp/*

ENV HOME=${HOME_DIR}

0 comments on commit e3c8d7a

Please sign in to comment.