Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rocky images #73

Merged
merged 3 commits into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,19 @@ will be commited.

### [![Salt Testing](https://github.com/saltstack/salt-ci-containers/actions/workflows/testing-containers.yml/badge.svg)](https://github.com/saltstack/salt-ci-containers/actions/workflows/testing-containers.yml)

- testing:amazonlinux-2 - `ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2`
- testing:amazonlinux-2023 - `ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023`
- testing:debian-11 - `ghcr.io/saltstack/salt-ci-containers/testing:debian-11`
- testing:debian-12 - `ghcr.io/saltstack/salt-ci-containers/testing:debian-12`
- testing:debian-13 - `ghcr.io/saltstack/salt-ci-containers/testing:debian-13`
- testing:fedora-40 - `ghcr.io/saltstack/salt-ci-containers/testing:fedora-40`
- testing:photon-4 - `ghcr.io/saltstack/salt-ci-containers/testing:photon-4`
- testing:photon-5 - `ghcr.io/saltstack/salt-ci-containers/testing:photon-5`
- testing:rockylinux-8 - `ghcr.io/saltstack/salt-ci-containers/testing:rockylinux-8`
- testing:rockylinux-9 - `ghcr.io/saltstack/salt-ci-containers/testing:rockylinux-9`
- testing:ubuntu-20.04 - `ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04`
- testing:ubuntu-22.04 - `ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-22.04`
- testing:ubuntu-24.04 - `ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04`


### [![Virt Minion](https://github.com/saltstack/salt-ci-containers/actions/workflows/virt-minion-containers.yml/badge.svg)](https://github.com/saltstack/salt-ci-containers/actions/workflows/virt-minion-containers.yml)
Expand Down
9 changes: 9 additions & 0 deletions containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,17 @@ custom:
versions:
- ubuntu-20.04
- ubuntu-22.04
- ubuntu-24.04
- rockylinux-8
- rockylinux-9
- photon-4
- photon-5
- debian-11
- debian-12
- debian-13
- fedora-40
- amazonlinux-2
- amazonlinux-2023
# <---- Custom Containers ---------------------------------------------------------------------------------

# ----- Mirrored Containers ------------------------------------------------------------------------------>
Expand Down
9 changes: 9 additions & 0 deletions custom/testing/01_nodoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
path-exclude /usr/share/doc/*
# we need to keep copyright files for legal reasons
path-include /usr/share/doc/*/copyright
path-exclude /usr/share/man/*
path-exclude /usr/share/groff/*
path-exclude /usr/share/info/*
# lintian stuff is small, but really unnecessary
path-exclude /usr/share/lintian/*
path-exclude /usr/share/linda/*
9 changes: 9 additions & 0 deletions custom/testing/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# [![Salt Testing](https://github.com/saltstack/salt-ci-containers/actions/workflows/testing-containers.yml/badge.svg)](https://github.com/saltstack/salt-ci-containers/actions/workflows/testing-containers.yml)

- testing:amazonlinux-2 - `ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2`
- testing:amazonlinux-2023 - `ghcr.io/saltstack/salt-ci-containers/testing:amazonlinux-2023`
- testing:debian-11 - `ghcr.io/saltstack/salt-ci-containers/testing:debian-11`
- testing:debian-12 - `ghcr.io/saltstack/salt-ci-containers/testing:debian-12`
- testing:debian-13 - `ghcr.io/saltstack/salt-ci-containers/testing:debian-13`
- testing:fedora-40 - `ghcr.io/saltstack/salt-ci-containers/testing:fedora-40`
- testing:photon-4 - `ghcr.io/saltstack/salt-ci-containers/testing:photon-4`
- testing:photon-5 - `ghcr.io/saltstack/salt-ci-containers/testing:photon-5`
- testing:rockylinux-8 - `ghcr.io/saltstack/salt-ci-containers/testing:rockylinux-8`
- testing:rockylinux-9 - `ghcr.io/saltstack/salt-ci-containers/testing:rockylinux-9`
- testing:ubuntu-20.04 - `ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-20.04`
- testing:ubuntu-22.04 - `ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-22.04`
- testing:ubuntu-24.04 - `ghcr.io/saltstack/salt-ci-containers/testing:ubuntu-24.04`
7 changes: 7 additions & 0 deletions custom/testing/amazonlinux-2.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM amazonlinux:2

RUN yum update -y \
&& yum install -y python3 python3-devel python3-pip openssl git rpmdevtools rpmlint \
systemd-units git gnupg2 jq createrepo rpm-sign epel-release rustc cargo \
curl wget \
&& yum install -y patchelf
7 changes: 7 additions & 0 deletions custom/testing/amazonlinux-2023.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM amazonlinux:2023

RUN yum update -y \
&& yum install -y --allowerasing python3 python3-devel python3-pip openssl git rpmdevtools rpmlint \
systemd-units git gnupg2 jq createrepo rpm-sign rustc cargo \
curl wget \
&& yum install -y patchelf
8 changes: 8 additions & 0 deletions custom/testing/debian-11.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM debian:12

COPY 01_nodoc /etc/dpkg/dpkg.cfg.d/01_nodoc

RUN apt update -y \
&& apt install -y apt-utils gnupg jq awscli python3 python3-venv python3-pip \
build-essential devscripts debhelper bash-completion git patchelf curl rustc \
wget
8 changes: 8 additions & 0 deletions custom/testing/debian-12.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM debian:12

COPY 01_nodoc /etc/dpkg/dpkg.cfg.d/01_nodoc

RUN apt update -y \
&& apt install -y apt-utils gnupg jq awscli python3 python3-venv python3-pip \
build-essential devscripts debhelper bash-completion git patchelf curl rustc \
wget
8 changes: 8 additions & 0 deletions custom/testing/debian-13.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM debian:trixie

COPY 01_nodoc /etc/dpkg/dpkg.cfg.d/01_nodoc

RUN apt update -y \
&& apt install -y apt-utils gnupg jq awscli python3 python3-venv python3-pip \
build-essential devscripts debhelper bash-completion git patchelf curl rustc \
wget
6 changes: 6 additions & 0 deletions custom/testing/fedora-40.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM fedora:40

RUN yum update -y \
&& yum install -y --allowerasing python3 python3-devel python3-pip openssl git rpmdevtools rpmlint \
systemd-units libxcrypt-compat git gnupg2 jq createrepo rpm-sign rustc cargo \
curl wget patchelf
5 changes: 5 additions & 0 deletions custom/testing/photon-4.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM photon:4.0

RUN yum update -y \
&& yum install -y --allowerasing python3 python3-devel python3-pip openssl git \
git jq createrepo curl wget
5 changes: 5 additions & 0 deletions custom/testing/photon-5.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM photon:5.0

RUN yum update -y \
&& yum install -y --allowerasing python3 python3-devel python3-pip openssl git \
git jq createrepo curl wget
5 changes: 3 additions & 2 deletions custom/testing/rockylinux-8.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ FROM rockylinux:8

RUN yum update -y \
&& yum install -y --allowerasing python3 python3-devel python3-pip openssl git rpmdevtools rpmlint \
systemd-units libxcrypt-compat git gnupg2 jq createrepo rpm-sign epel-release rustc cargo \
patchelf curl wget
systemd-units git gnupg2 jq createrepo rpm-sign epel-release rustc cargo \
curl wget \
&& yum install -y patchelf
3 changes: 2 additions & 1 deletion custom/testing/rockylinux-9.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ FROM rockylinux:9
RUN yum update -y \
&& yum install -y --allowerasing python3 python3-devel python3-pip openssl git rpmdevtools rpmlint \
systemd-units libxcrypt-compat git gnupg2 jq createrepo rpm-sign epel-release rustc cargo \
patchelf curl wget
curl wget \
&& yum install -y patchelf
2 changes: 2 additions & 0 deletions custom/testing/ubuntu-20.04.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM ubuntu:20.04

COPY 01_nodoc /etc/dpkg/dpkg.cfg.d/01_nodoc

RUN apt update -y \
&& echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
&& echo 'tzdata tzdata/Zones/America select Phoenix' | debconf-set-selections \
Expand Down
2 changes: 2 additions & 0 deletions custom/testing/ubuntu-22.04.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM ubuntu:22.04

COPY 01_nodoc /etc/dpkg/dpkg.cfg.d/01_nodoc

RUN apt update -y \
&& echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
&& echo 'tzdata tzdata/Zones/America select Phoenix' | debconf-set-selections \
Expand Down
10 changes: 10 additions & 0 deletions custom/testing/ubuntu-24.04.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM ubuntu:24.04

COPY 01_nodoc /etc/dpkg/dpkg.cfg.d/01_nodoc

RUN apt update -y \
&& echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
&& echo 'tzdata tzdata/Zones/America select Phoenix' | debconf-set-selections \
&& DEBIAN_FRONTEND="noninteractive" apt install -y \
python3 python3-venv python3-pip unzip sudo tree \
wget
Loading