Giter VIP home page Giter VIP logo

Comments (1)

cwilkers avatar cwilkers commented on June 12, 2024

I have a similar problem. I worked around the selinux issue here by just temporarily setting it to permissive, but that's not enough. The netlify/build:focal image sets several files in buildbot's home directory to owned by root:root.

As Podman runs unprivileged by default, it trips on these files, especially the package-lock.json and /opt/buildhome/repo directories.

$ ls -lah /opt/buildhome/
total 232K
drwxr-xr-x. 29 buildbot buildbot 4.0K Jan 12 18:49 .
drwxr-xr-x.  7 root     root     4.0K Jan 12 18:48 ..
-rw-r--r--.  1 buildbot buildbot  221 Jan 11 16:17 .bash_profile
-rw-r--r--.  1 buildbot buildbot  139 Jan 11 16:17 .bashrc
drwxr-xr-x.  3 buildbot buildbot 4.0K Jan 11 16:14 .binrc
drwxr-xr-x.  3 buildbot buildbot 4.0K Jan 11 16:14 .boot
drwxr-xr-x.  5 buildbot buildbot 4.0K Jan 11 16:14 .cache
drwxr-xr-x. 23 buildbot buildbot 4.0K Jan 12 18:48 cache
drwxr-xr-x.  3 buildbot buildbot 4.0K Jan 11 16:17 .cargo
drwxr-xr-x. 10 buildbot buildbot 4.0K Jan 11 16:14 .cask
drwxr-xr-x.  3 buildbot buildbot 4.0K Jan 11 16:14 .deno
drwxr-xr-x. 10 buildbot buildbot 4.0K Jan 11 16:14 .dotnet
drwxr-xr-x.  3 buildbot buildbot 4.0K Jan 11 16:13 .gem
-rw-r--r--.  1 root     root      469 Jan 12 18:33 get-build-info.mjs
drwxr-xr-x.  5 buildbot buildbot 4.0K Jan 11 16:14 .gimme
drwx------.  3 buildbot buildbot 4.0K Jan 11 16:14 .gnupg
drwxr-xr-x.  2 buildbot buildbot 4.0K Jan 11 16:17 .homebrew-cache
drwxr-xr-x.  3 buildbot buildbot 4.0K Jan 11 16:14 .lein
drwxr-xr-x.  3 buildbot buildbot 4.0K Jan 11 16:14 .local
drwxr-xr-x.  3 buildbot buildbot 4.0K Jan 11 16:14 .m2
-rw-r--r--.  1 buildbot buildbot  118 Jan 11 16:13 .mkshrc
drwxr-xr-x. 84 buildbot buildbot 4.0K Jan 12 18:49 node_modules
drwxr-xr-x.  4 buildbot buildbot 4.0K Jan 12 18:48 .npm
drwxr-xr-x.  8 buildbot buildbot 4.0K Jan 12 18:49 .nvm
-rw-r--r--.  1 root     root      857 Jan 12 18:33 package.json
-rw-r--r--.  1 root     root      65K Jan 12 18:33 package-lock.json
drwxr-xr-x.  2 buildbot buildbot 4.0K Jan 12 18:49 .php
-rw-r--r--.  1 buildbot buildbot  338 Jan 11 16:17 .profile
drwxr-xr-x.  4 buildbot buildbot 4.0K Jan 11 16:14 python2.7
lrwxrwxrwx.  1 buildbot buildbot   24 Jan 11 16:14 python2.7.18 -> /opt/buildhome/python2.7
drwxr-xr-x.  4 buildbot buildbot 4.0K Jan 11 16:14 python3.8
lrwxrwxrwx.  1 buildbot buildbot   24 Jan 11 16:14 python3.8.10 -> /opt/buildhome/python3.8
drwxrwxr-x. 23 root     root     4.0K Jan 12 17:46 repo
drwxr-xr-x.  2 buildbot buildbot 4.0K Jan 11 16:17 .rustup
drwxr-xr-x. 25 buildbot buildbot 4.0K Jan 11 16:13 .rvm
-rw-r--r--.  1 buildbot buildbot   25 Jan 11 16:13 .rvmrc
drwxr-xr-x. 10 buildbot buildbot 4.0K Jan 11 16:14 .swiftenv
drwxr-xr-x.  4 buildbot buildbot 4.0K Jan 11 16:14 .templateengine
-rw-r--r--.  1 buildbot buildbot  162 Jan 11 16:14 .wget-hsts
drwxr-xr-x.  4 buildbot buildbot 4.0K Jan 11 16:14 .yarn
-rw-r--r--.  1 buildbot buildbot  118 Jan 11 16:13 .zlogin
-rw-r--r--.  1 buildbot buildbot  118 Jan 11 16:13 .zshrc

from build-image.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.