Enable to select trixie distribution for docker image#661
Open
Seongook-CHOI-ML wants to merge 2 commits into
Open
Enable to select trixie distribution for docker image#661Seongook-CHOI-ML wants to merge 2 commits into
Seongook-CHOI-ML wants to merge 2 commits into
Conversation
Signed-off-by: SeongOok CHOI <seongook.choi@miraclelinux.com>
masami256
reviewed
Jul 9, 2026
| user: build | ||
| command: /bin/sh -c "sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc && /bin/bash" | ||
|
|
||
| emlinux3-build-trixie: |
Contributor
There was a problem hiding this comment.
Both service have lots of common setting, so please make common setting section using anchors .
e.g.
version: '3.8'
x-build-args: &build-args
context: .
args:
uid: $host_user_id
http_proxy: $http_proxy
https_proxy: $https_proxy
ftp_proxy: $ftp_proxy
no_proxy: $no_proxy
x-base-config: &base-config
environment:
- http_proxy=$http_proxy
- https_proxy=$https_proxy
- ftp_proxy=$ftp_proxy
- no_proxy=$no_proxy
volumes:
- /dev/shm:/dev/shm:rw
- ../../../:/home/build/work:rw
devices:
- /dev/net/tun:/dev/net/tun
privileged: true
cap_add:
- NET_ADMIN
user: build
command: /bin/sh -c "sudo mount binfmt_misc -t binfmt_misc /proc/sys/fs/binfmt_misc && /bin/bash"
services:
emlinux3-build:
<<: *base-config
image: "emlinux3-build-${host_user_name}"
build:
<<: *build-args
dockerfile: Dockerfile
emlinux3-build-trixie:
<<: *base-config
image: "emlinux3-build-trixie-${host_user_name}"
build:
<<: *build-args
dockerfile: Dockerfile.trixie
Contributor
Author
There was a problem hiding this comment.
I added new commit for your comment.
Signed-off-by: SeongOok CHOI <seongook.choi@miraclelinux.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Modified run.sh to enable to select trixie distribution for docker image.
Test
Comfirmed the following:
Test results