This commit is contained in:
Michael Simons 2024-05-14 12:01:30 -05:00 коммит произвёл GitHub
Родитель fd83c7a43e
Коммит bc6a233fa2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 0 добавлений и 150 удалений

Просмотреть файл

@ -1,59 +0,0 @@
FROM fedora:38
# Install the base toolchain we need to build anything (clang, cmake, make and the like)
# this does not include libraries that we need to compile different projects, we'd like
# them in a different layer.
RUN dnf --setopt=install_weak_deps=False install -y \
clang \
cmake \
dnf-plugins-core \
findutils \
gdb \
glibc-langpack-en \
lldb-devel \
llvm-devel \
make \
python \
which \
&& dnf clean all
# Add MS package repo.
COPY microsoft.asc /tmp
RUN dnf config-manager --add-repo https://packages.microsoft.com/fedora/36/prod/ && \
rpm --import /tmp/microsoft.asc && \
rm /tmp/microsoft.asc
# Install tools used by build automation.
RUN dnf --setopt=install_weak_deps=False install -y \
git \
tar \
procps \
zip \
&& dnf clean all
# Dependencies of CoreCLR, Mono and CoreFX.
RUN dnf --setopt=install_weak_deps=False install -y \
autoconf \
automake \
glibc-locale-source \
iputils \
jq \
krb5-devel \
libcurl-devel \
libgdiplus \
libicu-devel \
libomp-devel \
libtool \
libunwind-devel \
libuuid-devel \
lttng-ust-devel \
openssl-devel \
uuid-devel \
zlib-devel \
&& dnf clean all
# Dependencies for VMR/source-build tests
RUN dnf --setopt=install_weak_deps=False install -y \
elfutils \
file \
&& dnf clean all

Просмотреть файл

@ -1,19 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.7 (GNU/Linux)
mQENBFYxWIwBCADAKoZhZlJxGNGWzqV+1OG1xiQeoowKhssGAKvd+buXCGISZJwT
LXZqIcIiLP7pqdcZWtE9bSc7yBY2MalDp9Liu0KekywQ6VVX1T72NPf5Ev6x6DLV
7aVWsCzUAF+eb7DC9fPuFLEdxmOEYoPjzrQ7cCnSV4JQxAqhU4T6OjbvRazGl3ag
OeizPXmRljMtUUttHQZnRhtlzkmwIrUivbfFPD+fEoHJ1+uIdfOzZX8/oKHKLe2j
H632kvsNzJFlROVvGLYAk2WRcLu+RjjggixhwiB+Mu/A8Tf4V6b+YppS44q8EvVr
M+QvY7LNSOffSO6Slsy9oisGTdfE39nC7pVRABEBAAG0N01pY3Jvc29mdCAoUmVs
ZWFzZSBzaWduaW5nKSA8Z3Bnc2VjdXJpdHlAbWljcm9zb2Z0LmNvbT6JATUEEwEC
AB8FAlYxWIwCGwMGCwkIBwMCBBUCCAMDFgIBAh4BAheAAAoJEOs+lK2+EinPGpsH
/32vKy29Hg51H9dfFJMx0/a/F+5vKeCeVqimvyTM04C+XENNuSbYZ3eRPHGHFLqe
MNGxsfb7C7ZxEeW7J/vSzRgHxm7ZvESisUYRFq2sgkJ+HFERNrqfci45bdhmrUsy
7SWw9ybxdFOkuQoyKD3tBmiGfONQMlBaOMWdAsic965rvJsd5zYaZZFI1UwTkFXV
KJt3bp3Ngn1vEYXwijGTa+FXz6GLHueJwF0I7ug34DgUkAFvAs8Hacr2DRYxL5RJ
XdNgj4Jd2/g6T9InmWT0hASljur+dJnzNiNCkbn9KbX7J/qK1IbR8y560yRmFsU+
NdCFTW7wY0Fb1fWJ+/KTsC4=
=J6gs
-----END PGP PUBLIC KEY BLOCK-----

Просмотреть файл

@ -1,45 +0,0 @@
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-38-local
# Install Helix Dependencies
RUN dnf install -y \
openssl \
python3 \
python3-devel \
libatomic \
libffi-devel \
libmsquic \
llvm \
redhat-rpm-config \
sudo && \
dnf clean all
RUN dnf remove -y python3-pip && \
ln -sf /usr/bin/python3 /usr/bin/python && \
curl https://bootstrap.pypa.io/get-pip.py -o ./get-pip.py --fail --silent --show-error && \
python ./get-pip.py && rm ./get-pip.py && \
python -m pip install --upgrade pip==22.0.4 && \
python -m pip install virtualenv==20.14.0 && \
pip download --no-deps helix-scripts --index-url https://dnceng.pkgs.visualstudio.com/public/_packaging/helix-client-prod/pypi/simple && \
pip install ./helix_scripts-*-py3-none-any.whl
# Add MsQuic 1.9 in addition to 2+
# MsQuic did not publish 1.9 x64 package for Fedora 38
# Use direct link to signed binary from Fedora 34
RUN curl -LO https://packages.microsoft.com/fedora/34/prod/Packages/l/libmsquic-1.9.1-1.x86_64.rpm && \
rpm -i --force libmsquic-1.9* && \
rm -f libmsquic-1.9*
# Needed for .NET corefx tests to pass
ENV LANG=en-US.UTF-8
# create helixbot user and give rights to sudo without password
# Fedora does not have all options as other Linux systems
RUN /usr/sbin/adduser --uid 1000 --shell /bin/bash --group adm helixbot && \
chmod 755 /root && \
echo "helixbot ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers && \
chmod +s /usr/bin/ping
USER helixbot
RUN python -m virtualenv /home/helixbot/.vsts-env

Просмотреть файл

@ -3,33 +3,6 @@
{
"name": "dotnet-buildtools/prereqs",
"images": [
{
"platforms": [{
"dockerfile": "src/fedora/38/amd64",
"os": "linux",
"osVersion": "fedora38",
"tags": {
"fedora-38-$(System:TimeStamp)-$(System:DockerfileGitCommitSha)": {},
"fedora-38$(FloatingTagSuffix)": {},
"fedora-38-local": {
"isLocal": true
}
}
}]
},
{
"platforms": [
{
"dockerfile": "src/fedora/38/helix/amd64",
"os": "linux",
"osVersion": "fedora38",
"tags": {
"fedora-38-helix-$(System:TimeStamp)-$(System:DockerfileGitCommitSha)": {},
"fedora-38-helix$(FloatingTagSuffix)": {}
}
}
]
},
{
"platforms": [{
"dockerfile": "src/fedora/39/amd64",