[
https://issues.apache.org/jira/browse/FINERACT-1195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211873#comment-17211873
]
Michael Vorburger commented on FINERACT-1195:
---------------------------------------------
Hm, this was fun... root caused in
[https://github.com/containers/buildah/issues/2686]!
I'll raise a PR to remove the ASL header from our {{Dockerfile}} (and have RAT
ignore it...) to work around that Podman bug.
> podman build is broken
> ----------------------
>
> Key: FINERACT-1195
> URL: https://issues.apache.org/jira/browse/FINERACT-1195
> Project: Apache Fineract
> Issue Type: Bug
> Components: Build
> Affects Versions: 1.4.0
> Reporter: Michael Vorburger
> Assignee: Michael Vorburger
> Priority: Blocker
> Fix For: 1.5.0
>
>
> While attempting to help [~aleks] fix up his
> https://github.com/apache/fineract/pull/1388 for FINERACT-1194, I've noticed
> that {{podman build .}} seems to be currently broken: (https://podman.io is
> what I prefer to use instead of {{docker}}).
> {noformat}error during bulk transfer for copier.request{Request:"GET",
> Root:"/", preservedRoot:"/home/vorburger/dev/Mifos/fineract",
> rootPrefix:"/home/vorburger/dev/Mifos/fineract", Directory:"/",
> preservedDirectory:"/home/vorburger/dev/Mifos/fineract", Globs:[]string{"/"},
> preservedGlobs:[]string{"/home/vorburger/dev/Mifos/fineract"},
> StatOptions:copier.StatOptions{CheckForArchives:false,
> Excludes:[]string(nil)},
> GetOptions:copier.GetOptions{UIDMap:[]idtools.IDMap(nil),
> GIDMap:[]idtools.IDMap(nil), Excludes:[]string{"# Licensed to the Apache
> Software Foundation (ASF) under one", "# or more contributor license
> agreements. See the NOTICE file", "# distributed with this work for
> additional information", "# regarding copyright ownership. The ASF licenses
> this file", "# to you under the Apache License, Version 2.0 (the", "#
> \"License\"); you may not use this file except in compliance", "# with the
> License. You may obtain a copy of the License at", "#", "#
> http://www.apache.org/licenses/LICENSE-2.0", "#", "# Unless required by
> applicable law or agreed to in writing,", "# software distributed under the
> License is distributed on an", "# \"AS IS\" BASIS, WITHOUT WARRANTIES OR
> CONDITIONS OF ANY", "# KIND, either express or implied. See the License for
> the", "# specific language governing permissions and limitations", "# under
> the License.", "#", "build/*", ".gradle/*", "", "*.jar", "*.war", "", "#
> Incremental \"docker build\" is faster if we can modify the Dockerfile", "#
> without \"COPY .\" re-transferring everything into the builder container.",
> "Dockerfile", ""}, ExpandArchives:false, StripSetuidBit:true,
> StripSetgidBit:true, StripStickyBit:false, StripXattrs:false,
> KeepDirectoryNames:false},
> PutOptions:copier.PutOptions{UIDMap:[]idtools.IDMap(nil),
> GIDMap:[]idtools.IDMap(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: "/"("/"): copier: error checking
> if ".dockerignore" is excluded: syntax error in pattern{noformat}
> It seems to be some minor issue, looks like some recent Podman version (I
> currently have podman --version 2.1.1) got more strict in evaluating
> something related to ignored files?!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)