fix: latest Pulumi, make rootless containers work again using podman 4.X
ZeroDownTime/CloudBender/pipeline/head There was a failure building this commit Details

This commit is contained in:
Stefan Reimer 2022-11-01 13:07:34 +01:00
parent 8eefe1b3d8
commit fb7258dc0e
5 changed files with 4 additions and 19 deletions

View File

@ -1,6 +1,6 @@
ARG RUNTIME_VERSION="3.10"
ARG DISTRO_VERSION="3.16"
ARG PULUMI_VERSION="3.40.1"
ARG PULUMI_VERSION="3.45.0"
FROM python:${RUNTIME_VERSION}-alpine${DISTRO_VERSION} AS builder
ARG PULUMI_VERSION
@ -79,7 +79,6 @@ RUN echo -e "$USER:1:999\n$USER:1001:64535" > /etc/subuid && \
WORKDIR /workspace
ENV XDG_RUNTIME_DIR=/tmp/podman-run-1000
ENV _CONTAINERS_USERNS_CONFIGURED=""
ENV BUILDAH_ISOLATION=chroot

View File

@ -1,4 +1,5 @@
[containers]
volumes = [ "/proc:/proc" ]
netns="host"
userns="host"
ipcns="host"
@ -6,6 +7,7 @@ utsns="host"
cgroupns="host"
cgroups="disabled"
log_driver = "k8s-file"
[engine]
cgroup_manager = "cgroupfs"
events_logger="file"

View File

@ -1,4 +0,0 @@
[containers]
volumes = [
"/proc:/proc",
]

View File

@ -1,14 +1,2 @@
[storage]
driver = "overlay"
runroot = "/run/containers/storage"
graphroot = "/var/lib/containers/storage"
[storage.options]
additionalimagestores = [
"/var/lib/shared",
]
[storage.options.overlay]
mount_program = "/usr/bin/fuse-overlayfs"
mountopt = "nodev,fsync=0"
[storage.options.thinpool]

View File

@ -5,7 +5,7 @@ click
pexpect
python-minifier
cfn-lint>=0.34
pulumi>=3.40.1
pulumi>=3.45.0
pulumi-aws>5.0.0
pulumi-aws-native
pulumi-policy