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

Container build fails with 'podman/buildah' #45

Open
tmagik opened this issue Apr 28, 2024 · 0 comments
Open

Container build fails with 'podman/buildah' #45

tmagik opened this issue Apr 28, 2024 · 0 comments
Assignees

Comments

@tmagik
Copy link

tmagik commented Apr 28, 2024

Describe the bug
buildah build fails with:
error resolving mountpoints for container "0bdf5cc5f4ace21d6868f64e9058d08398037cfab83836bb6d4678b55ee71894": invalid mount type "bind"
See GoogleContainerTools/kaniko#1568
This might actually be fixed in a new version of podman/buildah, but the one in Ubuntu 22.04 still has it..

To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/iic-jku/IIC-OSIC-TOOLS
cd IIC-OSIC-TOOLS/_build

Expected behavior

  • build completes as it does on Docker -

Screenshots
buildah build
[1/38] STEP 1/4: FROM ubuntu:jammy AS base
[1/38] STEP 2/4: ARG CONTAINER_TAG=unknown
[1/38] STEP 3/4: ENV IIC_OSIC_TOOLS_VERSION=${CONTAINER_TAG} DEBIAN_FRONTEND=noninteractive TZ=Europe/Vienna LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 TOOLS=/foss/tools PDK_ROOT=/foss/pdks DESIGNS=/foss/designs EXAMPLES=/foss/examples
[1/38] STEP 4/4: RUN --mount=type=bind,source=images/base,target=/images/base bash /images/base/scripts/00_base_install.sh && bash /images/base/scripts/01_base_setup.sh && bash /images/base/scripts/30_install_boost.sh && bash /images/base/scripts/31_install_or-tools.sh && bash /images/base/scripts/70_install_from_pip.sh
error building at STEP "RUN --mount=type=bind,source=images/base,target=/images/base bash /images/base/scripts/00_base_install.sh && bash /images/base/scripts/01_base_setup.sh && bash /images/base/scripts/30_install_boost.sh && bash /images/base/scripts/31_install_or-tools.sh && bash /images/base/scripts/70_install_from_pip.sh": error resolving mountpoints for container "0bdf5cc5f4ace21d6868f64e9058d08398037cfab83836bb6d4678b55ee71894": invalid mount type "bind"
ERRO[0001] exit status 125

Environment:

  • Ubuntu 22.04, amd64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants