Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mesa-build-sdk
Manage
Activity
Members
Labels
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Boris Brezillon
mesa-build-sdk
Commits
0a33bc4d
Commit
0a33bc4d
authored
3 years ago
by
Boris Brezillon
Browse files
Options
Downloads
Patches
Plain Diff
mesa-setup
parent
ec613f6b
No related branches found
No related tags found
No related merge requests found
Pipeline
#33673
passed with stage
Stage: build
in 12 minutes and 29 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+7
-1
7 additions, 1 deletion
Dockerfile
docker.sh
+8
-3
8 additions, 3 deletions
docker.sh
rootfs.yaml
+1
-0
1 addition, 0 deletions
rootfs.yaml
with
16 additions
and
4 deletions
Dockerfile
+
7
−
1
View file @
0a33bc4d
...
...
@@ -22,12 +22,18 @@ RUN apt-get update && \
apt-get
install
-y
\
binutils-aarch64-linux-gnu
\
bison
\
cmake
\
flex
\
g++-aarch64-linux-gnu
\
gcc-aarch64-linux-gnu
\
libglib2.0-dev-bin
\
meson
\
pkg-config
\
python3-setuptools
python3-setuptools
\
python3-mako
\
libwayland-dev
\
wayland-protocols
\
libwayland-egl-backend-dev
\
libdrm-dev
CMD
["/bin/bash"]
This diff is collapsed.
Click to expand it.
docker.sh
+
8
−
3
View file @
0a33bc4d
#!/bin/bash
IMAGE_TAG
=
registry.gitlab.collabora.com/collabora/gst-build-sdk/gst-build-sdk:main
MUID
=
`
id
-u
`
MGID
=
`
id
-g
`
MUID
=
"0"
MGID
=
"0"
case
"
$1
"
in
run
)
docker
run
-it
\
podman
run
-it
\
--net
=
host
\
-v
$SYSROOT
:
$SYSROOT
\
-w
$SYSROOT
\
-u
$
(
id
-u
)
:
$(
id
-g
)
\
-u
$
MUID
:
$MGID
\
--mount
type
=
tmpfs,destination
=
/home/user
\
--security-opt
label
=
disable
\
$IMAGE_TAG
\
/bin/bash
;;
build
)
docker
build
-t
$IMAGE_TAG
.
podman
build
-t
$IMAGE_TAG
.
;;
*
)
echo
"Usage:
$0
{run|build}"
...
...
This diff is collapsed.
Click to expand it.
rootfs.yaml
+
1
−
0
View file @
0a33bc4d
...
...
@@ -26,6 +26,7 @@ actions:
-
action
:
apt
description
:
Install gstreamer build-dependencies
packages
:
-
cmake
-
gir1.2-freedesktop
-
gir1.2-glib-2.0
-
gobject-introspection
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment