Init: mediaserver

This commit is contained in:
2023-02-08 12:13:28 +01:00
parent 848bc9739c
commit f7c23d4ba9
31914 changed files with 6175775 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
FROM almalinux:8
RUN dnf makecache \
&& dnf install -y \
/usr/bin/python3 /usr/bin/python3-config /usr/bin/dnf-3 \
sudo bash iproute \
&& dnf clean all

View File

@@ -0,0 +1,9 @@
FROM amazonlinux:1
ENV container docker
RUN \
yum makecache fast; \
yum install -y \
/usr/bin/python /usr/bin/python2-config sudo \
yum-plugin-ovl bash iproute shadow-utils; \
sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf; \
yum clean all

View File

@@ -0,0 +1,9 @@
FROM amazonlinux:2
ENV container docker
RUN \
yum makecache fast; \
yum install -y \
/usr/bin/python /usr/bin/python2-config sudo \
yum-plugin-ovl bash iproute shadow-utils; \
sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf; \
yum clean all

View File

@@ -0,0 +1,8 @@
#!/bin/bash -eu
set -o pipefail
for f in *.docker
do
./build.sh "$f"
done

View File

@@ -0,0 +1,13 @@
#!/bin/bash -eu
set -o pipefail
readonly filename="$1"; shift
readonly base=${filename%.docker}
readonly name=${base%-*}
readonly version=${base##*-}
readonly tag="quay.io/xlab-steampunk/sensu-go-tests-$name:$version"
docker build --pull -f "$filename" -t "$tag" .
docker push "$tag"

View File

@@ -0,0 +1,7 @@
FROM centos:6
RUN yum makecache fast \
&& yum install -y \
/usr/bin/python /usr/bin/python2-config sudo \
yum-plugin-ovl bash iproute \
&& sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf \
&& yum clean all

View File

@@ -0,0 +1,25 @@
FROM centos:7
ENV container docker
RUN ( \
cd /lib/systemd/system/sysinit.target.wants/; \
for i in *; do \
[ $i == systemd-tmpfiles-setup.service ] || rm -f $i; \
done \
); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
rm -f /lib/systemd/system/basic.target.wants/*;\
rm -f /lib/systemd/system/anaconda.target.wants/*; \
yum makecache fast; \
yum install -y \
/usr/bin/python /usr/bin/python2-config sudo \
yum-plugin-ovl bash iproute; \
sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf; \
yum clean all; \
chmod 777 /root;
VOLUME [ "/sys/fs/cgroup" ]
CMD [ "/usr/sbin/init" ]

View File

@@ -0,0 +1,6 @@
FROM centos:8
RUN dnf makecache \
&& dnf install -y \
/usr/bin/python3 /usr/bin/python3-config /usr/bin/dnf-3 \
sudo bash iproute \
&& dnf clean all

View File

@@ -0,0 +1,8 @@
FROM debian:10
RUN apt-get update \
&& apt-get install -y \
python sudo bash ca-certificates iproute2 python-apt aptitude \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /usr/share/doc \
&& rm -rf /usr/share/man \
&& apt-get clean

View File

@@ -0,0 +1,5 @@
FROM debian:9
RUN apt-get update \
&& apt-get install -y \
python sudo bash ca-certificates iproute2 python-apt aptitude \
&& apt-get clean

View File

@@ -0,0 +1,6 @@
FROM oraclelinux:8
RUN dnf makecache \
&& dnf install -y \
/usr/bin/python3 /usr/bin/python3-config /usr/bin/dnf-3 \
sudo bash iproute \
&& dnf clean all

View File

@@ -0,0 +1,7 @@
FROM registry.access.redhat.com/ubi7/ubi-init:latest
RUN yum makecache fast \
&& yum install -y \
/usr/bin/python /usr/bin/python2-config sudo \
yum-plugin-ovl bash iproute \
&& sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf \
&& yum clean all

View File

@@ -0,0 +1,6 @@
FROM rockylinux:8
RUN dnf makecache \
&& dnf install -y \
/usr/bin/python3 /usr/bin/python3-config /usr/bin/dnf-3 \
sudo bash iproute \
&& dnf clean all

View File

@@ -0,0 +1,8 @@
FROM sensu/sensu:5.14.2
RUN apk update \
&& apk add --no-cache python sudo bash ca-certificates
CMD [ \
"sensu-backend", "start", \
"--state-dir", "/var/lib/sensu/sensu-backend", \
"--log-level", "debug" \
]

View File

@@ -0,0 +1,9 @@
FROM sensu/sensu:5.21.3
RUN apk update \
&& apk add --no-cache python sudo bash ca-certificates \
py-bcrypt py-six py-cffi
CMD [ \
"sensu-backend", "start", \
"--state-dir", "/var/lib/sensu/sensu-backend", \
"--log-level", "debug" \
]

View File

@@ -0,0 +1,8 @@
FROM sensu/sensu:6.2.5
RUN apk update \
&& apk add --no-cache python3 py3-bcrypt py3-six py3-cffi bash
CMD [ \
"sensu-backend", "start", \
"--state-dir", "/var/lib/sensu/sensu-backend", \
"--log-level", "debug" \
]

View File

@@ -0,0 +1,8 @@
FROM sensu/sensu:6.3.0
RUN apk update \
&& apk add --no-cache python3 py3-bcrypt py3-six py3-cffi bash
CMD [ \
"sensu-backend", "start", \
"--state-dir", "/var/lib/sensu/sensu-backend", \
"--log-level", "debug" \
]

View File

@@ -0,0 +1,8 @@
FROM sensu/sensu:6.4.3
RUN apk update \
&& apk add --no-cache python3 py3-bcrypt py3-six py3-cffi bash
CMD [ \
"sensu-backend", "start", \
"--state-dir", "/var/lib/sensu/sensu-backend", \
"--log-level", "debug" \
]

View File

@@ -0,0 +1,8 @@
FROM sensu/sensu:6.5.5
RUN apk update \
&& apk add --no-cache python3 py3-bcrypt py3-six py3-cffi bash
CMD [ \
"sensu-backend", "start", \
"--state-dir", "/var/lib/sensu/sensu-backend", \
"--log-level", "debug" \
]

View File

@@ -0,0 +1,8 @@
FROM sensu/sensu:6.6.2
RUN apk update \
&& apk add --no-cache python3 py3-bcrypt py3-six py3-cffi bash
CMD [ \
"sensu-backend", "start", \
"--state-dir", "/var/lib/sensu/sensu-backend", \
"--log-level", "debug" \
]

View File

@@ -0,0 +1,8 @@
FROM sensu/sensu:6.7.5
RUN apk update \
&& apk add --no-cache python3 py3-bcrypt py3-six py3-cffi bash
CMD [ \
"sensu-backend", "start", \
"--state-dir", "/var/lib/sensu/sensu-backend", \
"--log-level", "debug" \
]

View File

@@ -0,0 +1,8 @@
FROM sensu/sensu:6.8.2
RUN apk update \
&& apk add --no-cache python3 py3-bcrypt py3-six py3-cffi bash
CMD [ \
"sensu-backend", "start", \
"--state-dir", "/var/lib/sensu/sensu-backend", \
"--log-level", "debug" \
]

View File

@@ -0,0 +1,8 @@
FROM sensu/sensu:6.9.0
RUN apk update \
&& apk add --no-cache python3 py3-bcrypt py3-six py3-cffi bash
CMD [ \
"sensu-backend", "start", \
"--state-dir", "/var/lib/sensu/sensu-backend", \
"--log-level", "debug" \
]

View File

@@ -0,0 +1,8 @@
FROM ubuntu:14.04
RUN rm \
/etc/apt/apt.conf.d/20apt-esm-hook.conf \
/etc/apt/sources.list.d/ubuntu-esm-infra-trusty.list \
&& apt-get update \
&& apt-get install -y \
python sudo bash ca-certificates iproute2 python-apt aptitude \
&& apt-get clean

View File

@@ -0,0 +1,5 @@
FROM ubuntu:16.04
RUN apt-get update \
&& apt-get install -y \
python sudo bash ca-certificates iproute2 python-apt aptitude \
&& apt-get clean

View File

@@ -0,0 +1,5 @@
FROM ubuntu:18.04
RUN apt-get update \
&& apt-get install -y \
python sudo bash ca-certificates iproute2 python-apt aptitude \
&& apt-get clean