[
https://issues.apache.org/jira/browse/QPID-8712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18018338#comment-18018338
]
ASF GitHub Bot commented on QPID-8712:
--------------------------------------
vavrtom merged PR #327:
URL: https://github.com/apache/qpid-broker-j/pull/327
> [Broker-J] Operation not permitted when building docker image
> -------------------------------------------------------------
>
> Key: QPID-8712
> URL: https://issues.apache.org/jira/browse/QPID-8712
> Project: Qpid
> Issue Type: Bug
> Components: Broker-J
> Affects Versions: qpid-java-broker-9.2.1
> Reporter: Daniil Kirilyuk
> Priority: Minor
> Fix For: qpid-java-broker-10.0.0
>
>
> When building container image with older podman versions (3.4.4) there is an
> error during the alpine image build:
> {code:java}
> [3/3] STEP 16/28: RUN mkdir -p /qpid-broker-j/etc && mkdir -p
> /qpid-broker-j/work && mkdir -p /qpid-broker-j/work-init && mkdir -p
> /qpid-broker-j/work-override && chmod -R 770 /qpid-broker-j && chown
> -R 1001:root /qpid-broker-j
> chmod: changing permissions of '/qpid-broker-j/work': Operation not permitted
> chmod: changing permissions of '/qpid-broker-j/work-override': Operation not
> permitted
> chmod: changing permissions of '/qpid-broker-j/work-init': Operation not
> permitted
> chmod: changing permissions of '/qpid-broker-j/etc': Operation not permitted
> {code}
> Ubuntu image is not affected.
> *Implementation*
> Replaced {{mkdir}}, {{chmod}} and {{chown}} by {{install}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]