Add initial infra
This commit is contained in:
parent
b2917e7e5d
commit
925f0c3ccd
7 changed files with 91 additions and 0 deletions
26
infra/containers/README.md
Normal file
26
infra/containers/README.md
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Containers
|
||||
|
||||
This is a collection of CI-focused containers for testing.
|
||||
|
||||
# Setup
|
||||
|
||||
Install and run `podman` and activate the Rest API:
|
||||
|
||||
```bash
|
||||
sudo apt-get -y install podman
|
||||
podman system service -t 0 &
|
||||
```
|
||||
|
||||
# Build containers
|
||||
|
||||
```bash
|
||||
cd ubuntu/22_04/MinimalDeps
|
||||
podman build -t ubuntu_22_04_minimal_deps .
|
||||
```
|
||||
|
||||
# Run containers
|
||||
|
||||
```bash
|
||||
podman run -it -v $LOCAL_SOURCE_DIR:source ubuntu_22_04_minimal_deps:latest /bin/bash
|
||||
|
||||
```
|
2
infra/containers/ubuntu/22_04/MinimalDeps/Dockerfile
Normal file
2
infra/containers/ubuntu/22_04/MinimalDeps/Dockerfile
Normal file
|
@ -0,0 +1,2 @@
|
|||
FROM ubuntu:22.04
|
||||
RUN apt-get update; apt-get -y install build-essential pkg-config cmake
|
Loading…
Add table
Add a link
Reference in a new issue