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

bombastictranz/CBL-Mariner #2

Merged
merged 31 commits into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
0fb82a0
Add osslsigncode package (#7868)
Camelron Feb 15, 2024
b65c546
[RFC] virtiofsd: enable build on all supported platforms (#7921)
mfrw Feb 16, 2024
cd42b14
Patch waagent.conf to add firewall rules (#7543)
liunan-ms Feb 16, 2024
27c0792
Introduce kernel-mshv-signed, hvloader-signed (#7173)
Camelron Feb 20, 2024
24bae75
Add patch to address CVE 2023 48795 for kubernetes, telegraf (#7902)
liunan-ms Feb 20, 2024
8b259d9
grub2: update to SBAT 4
ddstreetmicrosoft Feb 15, 2024
99017dc
moby-containerd-cc: update to v1.7.7 (#7975)
miz060 Feb 21, 2024
b9c36e2
golang: include go.env in GOROOT (#8004)
mfrw Feb 21, 2024
6184756
moby-containerd: fix test compatibility with golang 1.21 (#8031)
hbeberman Feb 22, 2024
eb62644
Revert "Patch waagent.conf to add firewall rules (#7543)" (#8054)
christopherco Feb 23, 2024
f506a29
add golden containers src artifacts (#7664)
mandeepsplaha Feb 23, 2024
c596f71
[AUTO-CHERRYPICK] Upgrade libgit2 to Version 1.6.5 to address CVE-202…
CBL-Mariner-Bot Feb 26, 2024
55109c4
[AUTO-CHERRYPICK] Upgrade moby-compose to version 2.17.3 to address m…
CBL-Mariner-Bot Feb 26, 2024
2b8d95a
change code QL default settings file name (#8118)
nicogbg Feb 27, 2024
0ab15db
[AUTOPATCHER-kernel] Kernel CVE - branch main - CVE-2024-1312, CVE-20…
CBL-Mariner-Bot Feb 28, 2024
8bae98a
updates containers source for marinara updates (#8154)
mandeepsplaha Feb 28, 2024
317bacf
[AUTO-CHERRYPICK] postgresql: update to version14.11 to fix CVE-2024-…
CBL-Mariner-Bot Feb 28, 2024
3249aa8
Made test failures not fail the package build. (CP of #8121) (#8130)
PawelWMS Feb 28, 2024
e65e9f1
[AUTO-CHERRYPICK] Fixed CVE-2023-42282 in `nodejs`. - branch main (#8…
CBL-Mariner-Bot Feb 28, 2024
20f12b2
[AUTO-CHERRYPICK] Patch CVE-2024-24806 in libuv - branch main (#8148)
CBL-Mariner-Bot Feb 28, 2024
1d29c6a
[AUTO-CHERRYPICK] Patch CVE-2024-22667 in vim - branch main (#8147)
CBL-Mariner-Bot Feb 28, 2024
cac464e
[AUTO-CHERRYPICK] [AUTOPATCHER-CORE] Upgrade pam to 1.5.3 fix CVE-202…
CBL-Mariner-Bot Feb 28, 2024
d38bc3c
[AUTO-CHERRYPICK] [AUTOPATCHER-CORE] Upgrade dnsmasq to 2.90 Fix CVE-…
CBL-Mariner-Bot Feb 28, 2024
351ccbc
[AUTO-CHERRYPICK] Patch CVE-2024-24806 in nodejs18 - branch main (#8164)
CBL-Mariner-Bot Feb 28, 2024
495e2b4
[AUTO-CHERRYPICK] [AUTOPATCHER-CORE] Upgrade bind to 9.16.48 Fix CVE-…
CBL-Mariner-Bot Feb 28, 2024
8fa3fce
[AUTO-CHERRYPICK] [AUTOPATCHER-CORE] Upgrade unbound to 1.19.1 Fix CV…
CBL-Mariner-Bot Feb 28, 2024
9da930b
Prepare March 2024 Release (#8182)
CBL-Mariner-Bot Feb 29, 2024
430aced
Merge branch 'main' into 2.0
jslobodzian Feb 29, 2024
87bd75d
Revert "[AUTO-CHERRYPICK] [AUTOPATCHER-CORE] Upgrade pam to 1.5.3 fix…
jslobodzian Feb 29, 2024
1775bea
Merge branch 'main' into 2.0
jslobodzian Feb 29, 2024
4cb4cf9
Revert "Revert "Kata: Release v3.2.0.azl0 for both vanilla and CC bas…
jslobodzian Mar 7, 2024
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
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
/SPECS-SIGNED/kernel-hci-signed/* @microsoft/cbl-mariner-kernel
/SPECS-SIGNED/kernel-azure-signed/* @microsoft/cbl-mariner-kernel
/SPECS-SIGNED/kernel-mstflint-signed/* @microsoft/cbl-mariner-kernel
/SPECS-SIGNED/kernel-mshv-signed/* @microsoft/cbl-mariner-kata-containers

/SPECS/grub2/* @microsoft/cbl-mariner-bootloader
/SPECS/grubby/* @microsoft/cbl-mariner-bootloader
Expand Down Expand Up @@ -68,6 +69,7 @@

/SPECS/cloud-hypervisor/* @microsoft/cbl-mariner-virtualization
/SPECS/hvloader/* @microsoft/cbl-mariner-kata-containers
/SPECS-SIGNED/hvloader-signed/* @microsoft/cbl-mariner-kata-containers

/SPECS/cloud-init/* @microsoft/cbl-mariner-provisioning
/SPECS/walinuxagent/* @microsoft/cbl-mariner-provisioning
Expand Down
2 changes: 1 addition & 1 deletion .pipelines/containerSourceData/Dockerfile-Initial
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN --mount=type=bind,source=./Stage/,target=/dockerStage/ \\\
tdnf install -y createrepo; \\\
cp -r ${RPMS_PATH} ${LOCAL_REPO_PATH}; \\\
cat /dockerStage/marinerLocalRepo.repo >> /etc/yum.repos.d/local.repo; \\\
createrepo --database ${LOCAL_REPO_PATH} --workers 10; tdnf makecache \&\& tdnf makecache; \\\
createrepo --database ${LOCAL_REPO_PATH} --workers 10; tdnf makecache; \\\
tdnf autoremove -y createrepo; \\\
for rpm in "${RPMS_TO_INSTALL[@]}"; do \\\
echo "RPM: $rpm"; \\\
Expand Down
14 changes: 0 additions & 14 deletions .pipelines/containerSourceData/azurecli/Dockerfile-AzureCLI

This file was deleted.

1 change: 0 additions & 1 deletion .pipelines/containerSourceData/azurecli/azurecli.pkg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ ARG BASE_IMAGE

FROM $BASE_IMAGE AS BASE

ARG MARINER_VERSION=2.0
ARG AZL_VERSION=2.0
ARG USERNAME=nonroot
ARG USER_UID=65532
ARG USER_GID=$USER_UID
ARG SET_USER=$USERNAME

RUN mkdir -p /staging/etc \
&& tdnf install -y --releasever=$MARINER_VERSION shadow-utils \
&& tdnf install -y --releasever=$AZL_VERSION shadow-utils \
&& groupadd --gid $USER_GID $USERNAME \
&& useradd --gid $USER_GID -g $USERNAME $USERNAME -u $USER_UID \
&& tdnf clean all \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,32 @@ ARG BASE_IMAGE

FROM $BASE_IMAGE AS BASE

ARG MARINER_VERSION=2.0
ARG AZL_VERSION=2.0

ARG RPMS
ARG LOCAL_REPO_FILE="local.repo"
ARG LOCAL_REPO_PATH="/localrepo"

COPY ${RPMS} /WORKDIR/RPMS
COPY ${LOCAL_REPO_FILE} /WORKDIR/REPO/local.repo

# Create local repo if RPMS are provided
# This will allow the user to install packages from the local repo
# instead of fetching from PMC
RUN if [ "${RPMS}" ]; then \
mkdir -p $LOCAL_REPO_PATH; \
tdnf install -y --releasever=$AZL_VERSION createrepo; \
cp -r /WORKDIR/RPMS ${LOCAL_REPO_PATH}; \
cp /WORKDIR/REPO/local.repo /etc/yum.repos.d/local.repo; \
createrepo --database ${LOCAL_REPO_PATH} --workers 10; \
tdnf makecache; \
tdnf autoremove -y createrepo; \
fi

# Install busybox, glibc, and their dependencies into a staging location.
# Staging directory is copied into the final scratch image.
RUN mkdir /staging \
&& tdnf install -y --releasever=$MARINER_VERSION --installroot /staging \
&& tdnf install -y --releasever=$AZL_VERSION --installroot /staging \
busybox glibc \
&& tdnf clean all \
&& pushd /staging \
Expand All @@ -37,5 +57,5 @@ FROM scratch

# Copy dependencies into the scratch image.
COPY --from=BASE /staging/ .

COPY --from=BASE EULA-Container.txt /
CMD [ "sh" ]
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ ARG FINAL_IMAGE

FROM $BASE_IMAGE AS BASE

ARG MARINER_VERSION=2.0
ARG AZL_VERSION=2.0
ARG USERNAME=nonroot
ARG USER_UID=65532
ARG USER_GID=$USER_UID
ARG SET_USER=$USERNAME

RUN mkdir -p /staging/etc \
&& tdnf install -y --releasever=$MARINER_VERSION shadow-utils \
&& tdnf install -y --releasever=$AZL_VERSION shadow-utils \
&& groupadd --gid $USER_GID $USERNAME \
&& useradd --gid $USER_GID -g $USERNAME $USERNAME -u $USER_UID \
&& tdnf clean all \
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
bash
bzi
coreutils
gmp
grep
libselinux
pcre
pcre-libs
2 changes: 2 additions & 0 deletions .pipelines/containerSourceData/nodejs/distroless/nodejs18.pkg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
distroless-packages-base
nodejs18
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
bash
bzi
coreutils
gmp
grep
libselinux
pcre
pcre-libs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
distroless-packages-base
prometheus
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
bash
bzi
coreutils
gmp
grep
libselinux
pcre
pcre-libs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
distroless-packages-base
prometheus-adapter
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
bash
bzi
coreutils
gmp
grep
libselinux
pcre
pcre-libs
2 changes: 2 additions & 0 deletions .pipelines/containerSourceData/python/distroless/python.pkg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
distroless-packages-base
python3
Loading
Loading