containers/Readme.md
Kaan Barmore-Genç fe79d3c6b6
All checks were successful
ci/woodpecker/push/rsync Pipeline was successful
ci/woodpecker/push/rust Pipeline was successful
Add llvm-cov to rust
2022-11-25 01:14:07 -05:00

1,023 B

Containers

This repository contains various docker images that I found useful. These are typically not very complex, usually not more than an alpine image with a few packages installed.

Right now I'm using these primarily in my Woodpecker CI steps, but they are regular docker images and can be used anywhere.

rsync

Gives you access to rsync, ssh, and scp commands.

rust

Rust stable toolchain, with rustup, fmt, clippy, llvm-cov, llvm-tools, and audit.


Adding a new container

  1. Add a new folder, named after the container.
  2. Create a Dockerfile inside of that folder, and fill out the dockerfile.
  3. Go to Dockerhub, and create a repository for this new container.
  4. Under .woodpecker/, copy an existing pipeline. Name the copy after the container.
  5. Update the new pipeline:
    • Update the repo: ... to match the new repo you created
    • Point dockerfile: ... to the new dockerfile
    • Update when: ... condition so it's built when the correct folder is updated