Skip to content

Commit

Permalink
fix ci image dep ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
goastler committed Aug 14, 2024
1 parent 6fc05fd commit 3a4ccf5
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions docker/ci.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,20 @@ SHELL [ "/bin/bash", "-euxo", "pipefail", "-c" ]
VOLUME /repo
WORKDIR /repo

# Install dependencies
RUN apt-get update && apt-get install -y --no-install-recommends gnupg git curl pipx npm python3.8 python3-pip python3.8-venv shellcheck yamllint debian-keyring debian-archive-keyring apt-transport-https
RUN apt-get update
RUN apt-get install -y curl gnupg debian-keyring debian-archive-keyring apt-transport-https

RUN curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
RUN curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list
RUN apt-get update
RUN apt install -y --no-install-recommends caddy

RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
RUN apt-get install --no-install-recommends -y git pipx npm python3.8 python3-pip python3.8-venv shellcheck yamllint caddy

# RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash

RUN pipx install ansible-core --force && pipx ensurepath --force
# RUN pipx install ansible-core --force && pipx ensurepath --force

RUN pip install ruff
# RUN pip install ruff

RUN rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 3a4ccf5

Please sign in to comment.