Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cuebot Docker image build failure #751

Closed
murriel opened this issue Aug 7, 2020 · 0 comments · Fixed by #752
Closed

Cuebot Docker image build failure #751

murriel opened this issue Aug 7, 2020 · 0 comments · Fixed by #752
Labels
bug Something isn't working

Comments

@murriel
Copy link
Contributor

murriel commented Aug 7, 2020

Description
Docker build of the cuebot image is failing on certain systems due to permissions on the VERSION file copied during step 8 of the build.

To Reproduce
Steps to reproduce the behavior:
From the root of the repository, run docker build -t opencue/cuebot:master -f cuebot/Dockerfile .

Expected behavior
docker build completes successfully and image is available for use. (docker images)

Error Messages in Terminal

Step 9/29 : RUN test -e VERSION || echo "$(cat VERSION.in)-custom" | tee VERSION
 ---> Running in bc6e62103b26
cat: VERSION.in Permission denied
...
...
Step 16/29 : RUN chmod +x create_rpm.sh && ./create_rpm.sh cuebot "$(cat VERSION)"
 ---> Running in 9dc70312fc63
create_rpm.sh cuebot -custom
error: line 6: Empty tag: Version:
Building target platforms: noarch
Building for target noarch
mv: cannot stat 'rpmbuild/RPMS/noarch/opencue-cuebot--1.noarch.rpm': No such file or directory

Version Number
run from master - f9a331c9b153c6c3d9238e45d038680aafad3624

Additional context
This is being run on a debian-based workstation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant