mirror of
https://github.com/containers/youki
synced 2024-11-23 01:11:58 +01:00
601df9ecd3
* Set cgroups path for tenant containers from main container Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> * Ignore new_user_ns for creating cgroups path Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> * Remove user_ns param completely Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> * Add tests in podman rootless for exec Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> * Fix add_task implementation for cgroups v2 and systemd Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> * minor refactor in tenant builder Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> * Add unit test for systemd add_task function Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> * Fix task addition to properly add tasks via dbus api Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> * Fix cross cotainers for tests running Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com> --------- Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
19 lines
539 B
Gnuplot
19 lines
539 B
Gnuplot
ARG CROSS_BASE_IMAGE
|
|
ARG CROSS_DEB_ARCH
|
|
FROM $CROSS_BASE_IMAGE
|
|
|
|
ARG CROSS_DEB_ARCH
|
|
RUN dpkg --add-architecture ${CROSS_DEB_ARCH} && \
|
|
apt-get -y update && \
|
|
apt-get install -y pkg-config \
|
|
# dependencies required to build libsecccomp-rs
|
|
libseccomp-dev:${CROSS_DEB_ARCH} \
|
|
# dependencies required to build libbpf-sys
|
|
libelf-dev:${CROSS_DEB_ARCH} \
|
|
zlib1g-dev:${CROSS_DEB_ARCH} \
|
|
# dependencies to build wasmedge-sys
|
|
libzstd-dev:${CROSS_DEB_ARCH}
|
|
|
|
COPY hack/busctl.sh /bin/busctl
|
|
RUN chmod +x /bin/busctl
|