Closed tuananh closed 3 years ago
buildah stable v1.15.1 doesn't have this issue
@nalind PTAL
Was there more to the output than just the error code, perhaps something describing the kind of error that caused it to exit with that status?
@nalind i thought i pasted this but apparently i did not
error building at STEP "COPY package.json /app": error adding sources [/home/nonroot/app/package.json]: error reading "/home/nonroot/app/package.json": error during bulk transfer for copier.request{Request:"GET", Root:"/", preservedRoot:"/home/nonroot/app", rootPrefix:"/home/nonroot/app", Directory:"/", preservedDirectory:"/home/nonroot/app", Globs:[]string{"/package.json"}, preservedGlobs:[]string{"/home/nonroot/app/package.json"}, StatOptions:copier.StatOptions{CheckForArchives:false, Excludes:[]string(nil)}, GetOptions:copier.GetOptions{UIDMap:[]idtools.IDMap(nil), GIDMap:[]idtools.IDMap(nil), Excludes:[]string(nil), ExpandArchives:false, ChownDirs:(*idtools.IDPair)(0xc0001e6e50), ChmodDirs:(*os.FileMode)(nil), ChownFiles:(*idtools.IDPair)(0xc0001e6e60), ChmodFiles:(*os.FileMode)(nil), StripSetuidBit:true, StripSetgidBit:true, StripStickyBit:false, StripXattrs:false, KeepDirectoryNames:false}, PutOptions:copier.PutOptions{UIDMap:[]idtools.IDMap(nil), GIDMap:[]idtools.IDMap(nil), DefaultDirOwner:(*idtools.IDPair)(nil), DefaultDirMode:(*os.FileMode)(nil), ChownDirs:(*idtools.IDPair)(nil), ChmodDirs:(*os.FileMode)(nil), ChownFiles:(*idtools.IDPair)(nil), ChmodFiles:(*os.FileMode)(nil), StripXattrs:false, IgnoreXattrErrors:false}, MkdirOptions:copier.MkdirOptions{UIDMap:[]idtools.IDMap(nil), GIDMap:[]idtools.IDMap(nil), ChownNew:(*idtools.IDPair)(nil), ChmodNew:(*os.FileMode)(nil)}}: copier: get: "/package.json": error getting extended attributes for "/package.json": error listing extended attributes of "/package.json": operation not supported
ERRO exit status 125
Ah, great! That one should be fixed by #2778 in 1.18 and later, and by #2784 in the 1.17.1 release we just tagged earlier today.
Description build fails while it works with docker
Steps to reproduce the issue:
Dockerfile: a typical node.js project with
package.json
andpackage-lock.json
Describe the results you received:
Describe the results you expected: build would complete and tag
Output of
rpm -q buildah
orapt list buildah
: package buildah is not installedOutput of
buildah version
:Output of
podman version
if reporting apodman build
issue:*Output of `cat /etc/release`:**
Output of
uname -a
:Output of
cat /etc/containers/storage.conf
: