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

add fakeroot to dockerfile = successful building on gitpod.io #2371

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

jake5253
Copy link

@jake5253 jake5253 commented Mar 2, 2021

I couldn't get this to compile on gitpod because it was lacking fakeroot. Also, the original does something in the subfolder javafx. The build guide here says to run a bash script in the phoenicis-dist/src/scripts folder, so I changed the yml file too. It now produces a very installable .deb file.

Instead of USER root, it's also possible to run sudo in the dockerfile. Not sure if it really matters at this point in time.
reference -- here they say not to use USER root, but then they link you to this example, which uses USER root... so...?

Last but not least, as of this post you can now enable sudo in new workspaces by enabling 'Feature Preview' in settings, but that's rather round-about to fix a missing package.

mvn exec:java
mvn clean package &&
cd phoenicis-dist/src/scripts &&
sh phoenicis-create-package.sh
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This way you can only build the package but not run it to test your code changes (which should be the main purpose for gitpod).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants