-
Notifications
You must be signed in to change notification settings - Fork 48
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
Containers: update environment #1167
base: master
Are you sure you want to change the base?
Conversation
* New toolchain version - 1.5.2 * Update gcc to 11.2.0 * Update binutils to 2.37 * Remove support to x86 x86 toolchain is not used by Mimiker since we don't support that architecture - let's remove support for that toolchain and reduce complexity and build time of tools. Signed-off-by: Paweł Jasiak <[email protected]>
- build toolchain in container - bump Debian version - add ability to build & run Mimiker in local environment Example how to build local env: - git clone [email protected]:cahirwpz/mimiker.git - cd mimiker - podman build -t mimiker . - podman container run -it --rm --hostname mimiker -v /home/user/mimiker:/root/mimiker mimiker /bin/bash after last command you are in bash shell inside container, you can install your favourite set of packages or just build Mimiker. All changes are synchronized between local directory /home/user/mimiker and /root/mimiker inside container, so you can use your favourite editor and distro. podman is not required but it's recommended (in non-priv mode). It's possible to still run podman as root or use docker for that purpose but then you are on your own with permissions inside mimiker directory. Note: building container is *SLOW* and IO *INTENSIVE* process. Signed-off-by: Paweł Jasiak <[email protected]>
Signed-off-by: Paweł Jasiak <[email protected]>
This looks ok. Please move PR's description into a separate document on our wiki entitled "toolchain" and modify it appropriately. |
Signed-off-by: Paweł Jasiak <[email protected]>
Since |
Signed-off-by: Paweł Jasiak <[email protected]>
Signed-off-by: Paweł Jasiak <[email protected]>
@pj1031999 Since all our infrastructure was eventually updated to Debian 11 let's return to this PR. Could you resolve conflicts? |
@cahirwpz please give me a couple of days. |
@pj1031999 How can we benefit from that change having install-tools.sh script in place? |
Example how to build local env:
git clone [email protected]:cahirwpz/mimiker.git
cd mimiker
podman build -t mimiker .
podman container run -it --rm --hostname mimiker -v /home/user/mimiker:/root/mimiker mimiker /bin/bash
after last command you are in bash shell inside container, you can install your favourite set of packages or just build Mimiker. All changes are synchronized between local directory
/home/user/mimiker
and/root/mimiker
inside container, so you can use your favourite editor and distro.podman is not required but it's recommended (in non-priv mode). It's possible to still run podman as root or use docker for that purpose but then you are on your own with permissions inside mimiker directory.
Note: building container is SLOW and IO INTENSIVE process.
Requires #1166