Skip to content

Commit

Permalink
debug + docker
Browse files Browse the repository at this point in the history
  • Loading branch information
goastler committed Aug 14, 2024
1 parent aab2c50 commit 5ca75b9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci-image-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,4 @@ jobs:
- run: ruff --version
- run: rustc --version
- run: cargo --version
- run: docker run hello-world
17 changes: 14 additions & 3 deletions docker/ci.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,22 @@ RUN mkdir -p -m 755 /etc/apt/keyrings \
&& apt-get update \
&& apt-get install gh -y

# RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
RUN apt-get install ca-certificates curl
RUN install -m 0755 -d /etc/apt/keyrings
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
RUN chmod a+r /etc/apt/keyrings/docker.asc
RUN echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
RUN apt-get update
RUN apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

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 5ca75b9

Please sign in to comment.