Bitrise Build Issue Report template
Description of the issue
I have a build in which I need to run a proprietary Windows executable to generate the final build.
Currently I am able to run this step locally inside a Docker using wine.
However, when I attempt to run the same docker and script in a Bitrise build, the build fails as it is unable to write a file in the mounted volume I add.
Environment:
Where did the issue happen?
Stack:
Android & Docker, on Ubuntu 16.04.
Docker with pre-cached Android setup, installed on Ubuntu 16.04.
Dockerfile:
FROM scottyhardy/docker-wine:latest
RUN apt-get update && apt-get install -y zip
WORKDIR /usr/src/app
CMD ["touch test"]
Docker image created as:
docker run \
--name test \
-v "$(pwd)"/app:/usr/src/app/ \
generate-cap:1.0
Reproducibility
- _Does a “Rebuild” help? No
- _Does a rebuild without caches help? No
- Does the issue happen sporadically, or every time? : every time
- Does upgrading the build Step to the latest version help? : no
- When did the issue start? : as soon as I set it up
Local reproduction
Locally it succeeds.
Local reproduction: Linux / Android (docker based) stack builds
Locally it succeeds.
Build log
Example output:
+ echo 'Testing write permissions:'
+ mkdir pdr
mkdir: cannot create directory 'pdr': Permission denied