Adding new distro support containers (#633)
This commit is contained in:
Родитель
428f884e73
Коммит
2322cba473
|
@ -0,0 +1,28 @@
|
|||
# TODO: Add mcr.io retagged images
|
||||
FROM almalinux:9
|
||||
|
||||
RUN dnf install -y \
|
||||
autoconf \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
git \
|
||||
jq \
|
||||
libcurl-devel \
|
||||
libtool \
|
||||
make \
|
||||
openssl-devel \
|
||||
rpm-build
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
# CMake
|
||||
RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
|
||||
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
|
||||
|
||||
# GTest
|
||||
RUN git clone https://github.com/google/googletest --recursive
|
||||
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
|
||||
|
||||
# rapidjson
|
||||
RUN git clone https://github.com/Tencent/rapidjson --recursive
|
||||
RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
|
|
@ -0,0 +1,28 @@
|
|||
# TODO: Add mcr.io retagged images
|
||||
FROM amazonlinux:2
|
||||
|
||||
RUN yum install -y \
|
||||
autoconf \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
git \
|
||||
jq \
|
||||
libcurl-devel \
|
||||
libtool \
|
||||
make \
|
||||
openssl-devel \
|
||||
rpm-build
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
# CMake
|
||||
RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
|
||||
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
|
||||
|
||||
# GTest
|
||||
RUN git clone https://github.com/google/googletest --recursive
|
||||
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
|
||||
|
||||
# rapidjson
|
||||
RUN git clone https://github.com/Tencent/rapidjson --recursive
|
||||
RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
|
|
@ -0,0 +1,28 @@
|
|||
# TODO: Add mcr.io retagged images
|
||||
FROM centos:7
|
||||
|
||||
RUN yum install -y \
|
||||
autoconf \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
git \
|
||||
jq \
|
||||
libcurl-devel \
|
||||
libtool \
|
||||
make \
|
||||
openssl-devel \
|
||||
rpm-build
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
# CMake
|
||||
RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
|
||||
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
|
||||
|
||||
# GTest
|
||||
RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
|
||||
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
|
||||
|
||||
# rapidjson
|
||||
RUN git clone https://github.com/Tencent/rapidjson --recursive -b v1.1.0
|
||||
RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
|
|
@ -0,0 +1,37 @@
|
|||
# TODO: Add mcr.io retagged images
|
||||
FROM centos:latest
|
||||
|
||||
# CentOS Linux 8 had reached the End Of Life (EOL) on December 31st, 2021.
|
||||
# It means that CentOS 8 will no longer receive development resources from
|
||||
# the official CentOS project. After Dec 31st, 2021, if you need to update
|
||||
# your CentOS, you need to change the mirrors to vault.centos.org where they
|
||||
# will be archived permanently
|
||||
RUN cd /etc/yum.repos.d/
|
||||
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
|
||||
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
|
||||
|
||||
RUN yum update -y && yum install -y \
|
||||
autoconf \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
git \
|
||||
jq \
|
||||
libcurl-devel \
|
||||
libtool \
|
||||
make \
|
||||
openssl-devel \
|
||||
rpm-build
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
# CMake
|
||||
RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
|
||||
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
|
||||
|
||||
# GTest
|
||||
RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
|
||||
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
|
||||
|
||||
# rapidjson
|
||||
RUN git clone https://github.com/Tencent/rapidjson --recursive
|
||||
RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
|
|
@ -0,0 +1,28 @@
|
|||
# TODO: Add mcr.io retagged images
|
||||
FROM oraclelinux:7
|
||||
|
||||
RUN yum install -y \
|
||||
autoconf \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
git \
|
||||
jq \
|
||||
libcurl-devel \
|
||||
libtool \
|
||||
make \
|
||||
openssl-devel \
|
||||
rpm-build
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
# CMake
|
||||
RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
|
||||
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
|
||||
|
||||
# GTest
|
||||
RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
|
||||
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
|
||||
|
||||
# rapidjson
|
||||
RUN git clone https://github.com/Tencent/rapidjson --recursive -b v1.1.0
|
||||
RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
|
|
@ -0,0 +1,28 @@
|
|||
# TODO: Add mcr.io retagged images
|
||||
FROM oraclelinux:8
|
||||
|
||||
RUN yum install -y \
|
||||
autoconf \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
git \
|
||||
jq \
|
||||
libcurl-devel \
|
||||
libtool \
|
||||
make \
|
||||
openssl-devel \
|
||||
rpm-build
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
# CMake
|
||||
RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
|
||||
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
|
||||
|
||||
# GTest
|
||||
RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
|
||||
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
|
||||
|
||||
# rapidjson
|
||||
RUN git clone https://github.com/Tencent/rapidjson --recursive
|
||||
RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
|
|
@ -0,0 +1,42 @@
|
|||
# ubi7 images are missing RPM devtools, copy from centos7
|
||||
FROM centos:centos7 as centos
|
||||
RUN yum update -y && yumdownloader rpm-build && yumdownloader elfutils
|
||||
|
||||
# TODO: Add mcr.io retagged images
|
||||
FROM registry.access.redhat.com/ubi7/ubi
|
||||
COPY --from=centos /rpm-build*.rpm /rpm-build.rpm
|
||||
COPY --from=centos /elfutils*.rpm /elfutils.rpm
|
||||
|
||||
RUN yum-config-manager --enable ubi-7-server-devtools-rpms
|
||||
RUN yum install -y --disableplugin=subscription-manager \
|
||||
autoconf \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
git \
|
||||
libtool \
|
||||
make \
|
||||
openssl-devel
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
# CMake
|
||||
RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
|
||||
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
|
||||
|
||||
# jq
|
||||
RUN git clone https://github.com/stedolan/jq.git --recursive
|
||||
RUN cd jq && autoreconf -i && ./configure && make -j$(nproc) && make install && rm -rf /git/jq
|
||||
|
||||
# GTest
|
||||
RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
|
||||
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
|
||||
|
||||
# rapidjson
|
||||
RUN git clone https://github.com/Tencent/rapidjson --recursive -b v1.1.0
|
||||
RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
|
||||
|
||||
# elfutils
|
||||
RUN yum install -y /elfutils.rpm && rm -f /elfutils.rpm
|
||||
|
||||
# rpm-build
|
||||
RUN yum install -y /rpm-build.rpm && rm -f /rpm-build.rpm
|
|
@ -0,0 +1,30 @@
|
|||
# TODO: Add mcr.io retagged images
|
||||
FROM registry.access.redhat.com/ubi8/ubi
|
||||
|
||||
RUN yum install -y --disableplugin=subscription-manager \
|
||||
autoconf \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
git \
|
||||
jq \
|
||||
libcurl-devel \
|
||||
libtool \
|
||||
make \
|
||||
ninja-build \
|
||||
openssl-devel \
|
||||
openssl-devel \
|
||||
rpm-build
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
# CMake
|
||||
RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
|
||||
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
|
||||
|
||||
# GTest
|
||||
RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
|
||||
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
|
||||
|
||||
# rapidjson
|
||||
RUN git clone https://github.com/Tencent/rapidjson --recursive
|
||||
RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
|
|
@ -0,0 +1,29 @@
|
|||
# TODO: Add mcr.io retagged images
|
||||
FROM registry.access.redhat.com/ubi9/ubi
|
||||
|
||||
RUN yum install -y --disableplugin=subscription-manager \
|
||||
autoconf \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
git \
|
||||
jq \
|
||||
libtool \
|
||||
make \
|
||||
ninja-build \
|
||||
openssl-devel \
|
||||
openssl-devel \
|
||||
rpm-build
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
# CMake
|
||||
RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
|
||||
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
|
||||
|
||||
# GTest
|
||||
RUN git clone https://github.com/google/googletest --recursive
|
||||
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
|
||||
|
||||
# rapidjson
|
||||
RUN git clone https://github.com/Tencent/rapidjson --recursive
|
||||
RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
|
|
@ -0,0 +1,28 @@
|
|||
# TODO: Add mcr.io retagged images
|
||||
FROM rockylinux:9
|
||||
|
||||
RUN yum install -y \
|
||||
autoconf \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
git \
|
||||
jq \
|
||||
libcurl-devel \
|
||||
libtool \
|
||||
make \
|
||||
openssl-devel \
|
||||
rpm-build
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
# CMake
|
||||
RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
|
||||
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
|
||||
|
||||
# GTest
|
||||
RUN git clone https://github.com/google/googletest --recursive
|
||||
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
|
||||
|
||||
# rapidjson
|
||||
RUN git clone https://github.com/Tencent/rapidjson --recursive
|
||||
RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
|
|
@ -0,0 +1,28 @@
|
|||
# TODO: Add mcr.io retagged images
|
||||
FROM registry.suse.com/bci/bci-base:15.5
|
||||
|
||||
RUN zypper install -y \
|
||||
autoconf \
|
||||
gcc \
|
||||
gcc-c++ \
|
||||
git \
|
||||
jq \
|
||||
libcurl-devel \
|
||||
libtool \
|
||||
make \
|
||||
libopenssl-devel \
|
||||
rpm-build
|
||||
|
||||
WORKDIR /git
|
||||
|
||||
# CMake
|
||||
RUN git clone https://github.com/Kitware/CMake --recursive -b v3.21.7
|
||||
RUN cd CMake && ./bootstrap && make -j$(nproc) && make install && hash -r && rm -rf /git/CMake
|
||||
|
||||
# GTest
|
||||
RUN git clone https://github.com/google/googletest --recursive -b release-1.10.0
|
||||
RUN cd googletest && cmake . && cmake --build . --parallel --target install && rm -rf /git/googletest
|
||||
|
||||
# rapidjson
|
||||
RUN git clone https://github.com/Tencent/rapidjson --recursive
|
||||
RUN cd rapidjson && cmake . && cmake --build . --parallel --target install && rm -rf /git/rapidjson
|
|
@ -6,7 +6,7 @@
|
|||
- Drop tracelogging
|
||||
- Expanded CommonUtils
|
||||
- Misc. module bug fixes
|
||||
* Fri Sept 30 2022 OSConfig Core Team <osconfigcore@microsoft.com> 1.0.4.20220930
|
||||
* Fri Sep 30 2022 OSConfig Core Team <osconfigcore@microsoft.com> 1.0.4.20220930
|
||||
- DTMI model moved to this repo
|
||||
- Support for MIM enumerations of strings
|
||||
- New Firewall v3
|
||||
|
|
Загрузка…
Ссылка в новой задаче