# Ansible runner 3 build issues (pip config file , permissions of user 1000 in /runner path)

**URL:** <https://forum.ansible.com/t/ansible-runner-3-build-issues-pip-config-file-permissions-of-user-1000-in-runner-path/4091>\
**Category:** Get Help\
**Tags:** ansible-navigator, ansible-builder, ee\
**Created:** [February 27, 2024, 4:03pm UTC](https://forum.ansible.com/t/ansible-runner-3-build-issues-pip-config-file-permissions-of-user-1000-in-runner-path/4091 "2024-02-27T16:03:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![luckyzor](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/luckyzor/32/2422_2.png) [@luckyzor](https://forum.ansible.com/u/luckyzor)\
**Post date:** [February 27, 2024, 4:03pm UTC](https://forum.ansible.com/t/ansible-runner-3-build-issues-pip-config-file-permissions-of-user-1000-in-runner-path/4091/1 "2024-02-27T16:03:55Z")

</div>

Hello all,

I want to build my custom EE and I’m having issues with ansible-builder 3.

**First issue:**  
What I need: add custom pip.conf so pip will work with a proxy  
What I have done:

```auto
prepend_builder: |
        COPY _build/configs/pip.conf /etc/pip.conf

```

The Problem: It adds the COPY after the pip command - pip will not work

```auto
# Builder build stage
FROM base as builder
WORKDIR /build
ARG EE_BASE_IMAGE
ARG PYCMD
ARG PKGMGR_PRESERVE_CACHE
ARG ANSIBLE_GALAXY_CLI_COLLECTION_OPTS
ARG ANSIBLE_GALAXY_CLI_ROLE_OPTS
ARG PKGMGR

RUN $PYCMD -m pip install --no-cache-dir bindep pyyaml requirements-parser
COPY _build/configs/pip.conf /etc/pip.conf

```

**Second issue:**  
When running ansible-navigator I got an error concerning the user runner not have the correct permissions on the /runner path

This is the config by default of ansible-builder 3

```auto
RUN mkdir -p /runner && chgrp 0 /runner && chmod -R ug+rwx /runner
WORKDIR /runner
RUN $PYCMD -m pip install --no-cache-dir 'dumb-init==1.2.5'
RUN rm -rf /output
LABEL ansible-execution-environment=true
USER 1000

```

I could add the option to change the user to root, but what I want is to change the permissions on the /runner path so I can run the EE rootless

I tried to add an append\_final with a `RUN chown -R 1000:1000 /runner` but it doesn’t work.

Any idea on how can I achive this or even another solution?

thank you in advance,  
Ivan
