-
Notifications
You must be signed in to change notification settings - Fork 242
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
More complete docker instructions #298
Comments
You need to use the container to run a build. As shown in the readme:
|
I use the |
from which returns immediately , the container won't start so the exec command doesn't work either |
Try running it like this:
I usually use the docker compose to build multiple times on the same container. So that part had less testing. Note you might need to run:
Because you already created that container. |
This generates way more output: |
You skipped downloading the base image that FullPageOS is built over. Its documented her: Run:
This will download an image to the right image folder and then try to repeat the build with docker run. Indeed not in the docker instruction page. Will add once I understand what is worth adding too. |
The script is looking for a different file pattern then what gets downloaded: |
That command should rename the file correctly, not sure why it doesn't in
your case.
Did you get an image? Can you post your build.log?
|
Build logs attached for building a variant, I haven't tested the image yet but at least it builds one. Then I delete the container and restart the build and then it works. |
Looks like it worked:
In green means it worked. Note you are not building a variant, to do that you need to sesify which variant. I am not sure what you are doing, it looks like the variant has the a copy of the fullpageOS source. A variant is code that runs before and after, should not be a complete copy. Saying because I saw this:
|
But if failed the first time, and this cycle is happening all the time, one build fails, the subsequent one succeeds. I started this build with and it seemed to create the variant: The variant that I build is one I copied from an older version of FullPageOS where I only have a minimal set of files and modifications in the variant directory. |
Ok, This works for me:
|
I don't run docker as sudo but apart from that I do the same, the first try fails: |
@semanticfire Hey sorry for the late reply, that is a known issue. see: Which comes from: Have you figured this? Can I close the issue? Closing if no reply. |
@guysoft let me try this next week |
@guysoft running 'losetup -f' before the docker command seems to work |
too soon, still fails now and then... where the 2nd try works |
Can I close this? |
What were you doing?
Building the latest FullPageOS
checked out this repo, moved in the src directory and followed the instructions on the link:
https://github.com/guysoft/CustomPiOS/wiki/Building-with-Docker
What did you expect to happen?
A minimal working image
What happened instead?
Nothing, docker starts, creates image and exits no errors
Was there an error message displayed? What did it say?
none
Version of FullPageOS?
latest from GIT
The text was updated successfully, but these errors were encountered: