Skip to content

Commit

Permalink
fix pip on ubnutu v2
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeeq committed Dec 19, 2024
1 parent 650d37c commit e99fcff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RUN dnf clean all \
systemd \
pipx \
ShellCheck \
python3-argcomplete \
python3-psutil \
&& dnf clean all

RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
Expand All @@ -35,11 +37,7 @@ RUN pipx install --global --force --include-deps \
# https://pypi.org/project/ansible-lint/
ansible-lint \
# https://pypi.org/project/yamllint/
yamllint \
# https://pypi.org/project/packaging/
packaging \
# https://pypi.org/project/pyOpenSSL/
pyOpenSSL
yamllint

# Dive
RUN curl -LO https://github.com/wagoodman/dive/releases/download/v${DIVE_VERSION}/dive_${DIVE_VERSION}_linux_amd64.tar.gz && \
Expand Down
6 changes: 1 addition & 5 deletions Dockerfile-ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ RUN pipx install --global --force --include-deps \
# https://pypi.org/project/ansible-lint/
ansible-lint \
# https://pypi.org/project/yamllint/
yamllint \
# https://pypi.org/project/packaging/
packaging \
# https://pypi.org/project/pyOpenSSL/
pyOpenSSL
yamllint

RUN useradd ${UBUNTU_USERNAME} && usermod -aG sudo ${UBUNTU_USERNAME}

Expand Down

0 comments on commit e99fcff

Please sign in to comment.