2022-11-19 10:59:15 -06:00
|
|
|
## 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.
|
|
|
|
|
2022-11-25 15:21:07 -06:00
|
|
|
These containers are automatically updated every week, so they should stay fresh!
|
|
|
|
|
2022-11-19 10:59:15 -06:00
|
|
|
### rsync
|
|
|
|
|
2022-11-25 15:24:26 -06:00
|
|
|
[![Docker Pulls](https://img.shields.io/docker/pulls/seriousbug/rsync) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/seriousbug/rsync/latest)](https://hub.docker.com/r/seriousbug/rsync)
|
|
|
|
|
2022-11-19 10:59:15 -06:00
|
|
|
Gives you access to `rsync`, `ssh`, and `scp` commands.
|
|
|
|
|
2022-11-25 00:03:58 -06:00
|
|
|
### rust
|
|
|
|
|
2022-11-25 15:24:26 -06:00
|
|
|
[![Docker Pulls](https://img.shields.io/docker/pulls/seriousbug/rust) ![Docker Image Size (tag)](https://img.shields.io/docker/image-size/seriousbug/rust/latest)](https://hub.docker.com/r/seriousbug/rust)
|
|
|
|
|
2022-11-25 16:54:38 -06:00
|
|
|
Rust stable toolchain, with `rustup`, `binstall`, `fmt`, `clippy`, `llvm-cov`, `llvm-tools`, and `audit`.
|
|
|
|
|
|
|
|
This is a pretty heavy package as it contains a lot of libraries and other
|
|
|
|
things I found useful for my work.
|
2022-11-25 00:03:58 -06:00
|
|
|
|
2022-11-19 10:59:15 -06:00
|
|
|
---
|
|
|
|
|
|
|
|
## Adding a new container
|
|
|
|
|
|
|
|
1. Add a new folder, named after the container.
|
|
|
|
1. Create a Dockerfile inside of that folder, and fill out the dockerfile.
|
|
|
|
1. Go to Dockerhub, and create a repository for this new container.
|
|
|
|
1. Under `.woodpecker/`, copy an existing pipeline. Name the copy after the container.
|
|
|
|
1. 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
|