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

Docker: Install rustc & upgrade image to Debian 11 bullseye #5441

Merged
merged 1 commit into from
Oct 6, 2022

Conversation

th0ma7
Copy link
Contributor

@th0ma7 th0ma7 commented Oct 2, 2022

Description

Docker: Install rustc & upgrade image to Debian 11 bullseye. This PR is only aimed at adding rustc compiler onto our default docker image. It's integration is within PR #5435 but it requires the docker image being updated in master in order to allow github-action to work.

Checklist

  • Build rule all-supported completed successfully
  • New installation of package completed successfully
  • Package upgrade completed successfully (Manually install the package again)
  • Package functionality was tested
  • Any needed documentation is updated/created

Type of change

  • Bug fix
  • New Package
  • Package update
  • Includes small framework changes
  • This change requires a documentation update (e.g. Wiki)

Testing HOWTO

Clone my copy of this PR:

$ git clone https://github.com/th0ma7/spksrc.git
$ cd spksrc
$ git checkout docker-rustc-debian11

Create the updated docker image (may need $ sudo usermod -aG docker $USER for proper user permissions):

$ docker build - < Dockerfile
...
Successfully built 882a0451f1bb

Access the docker image:

$ docker run -it -v $(pwd):/spksrc 882a0451f1bb /bin/bash

Build a python310 package or what ever you are interested at testing:

root@2ff602f23b71:/spksrc# cd spk/python310
root@2ff602f23b71:/spksrc/spk/python310/# make all-supported

To remove all docker images afterwards:

$ docker container rm -f $(docker container ls -aq)

Testing completed succesfully (all-supported)

  • ffmpeg

@th0ma7
Copy link
Contributor Author

th0ma7 commented Oct 4, 2022

Just mentionning, getting less compiler sefaults using this newer image.

@th0ma7 th0ma7 merged commit daf28a8 into SynoCommunity:master Oct 6, 2022
@th0ma7 th0ma7 deleted the docker-rustc-debian11 branch October 6, 2022 00:14
Dockerfile Show resolved Hide resolved
@@ -1,4 +1,4 @@
FROM debian:buster
FROM debian:bullseye
Copy link
Member

Choose a reason for hiding this comment

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

👍

hgy59 added a commit to hgy59/spksrc that referenced this pull request Oct 22, 2022
- update cross/file to match the version of the build environment
hgy59 added a commit to hgy59/spksrc that referenced this pull request Oct 28, 2022
- update cross/file to match the version of the build environment
hgy59 added a commit that referenced this pull request Oct 30, 2022
* update rmlint to support reflink
* libelf: fix 64-bit support for cross compile
* synocli-file: update file (follow up to #5441)
- update cross/file to match the version of the build environment
* update several tools:
- Update bat to v0.22.1
- Update fdupes to v2.2.1
- Update fzf to v.0.34.0
- Update jdupes to v1.21.0
- Update tree to v2.0.4
* use dedicated extract folder to compile util-linux for libblkid
* final fix for rmlint to support reflink in synocli-file packages
* rmlint: add json-glib to support to read json caches
@hgy59 hgy59 mentioned this pull request Dec 14, 2022
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants