Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quasseldroid-build-env
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
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
Monitor
Incidents
Service Desk
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Janne Mareike Koschinski
quasseldroid-build-env
Commits
1eb7fa88
Verified
Commit
1eb7fa88
authored
4 years ago
by
Janne Mareike Koschinski
Browse files
Options
Downloads
Patches
Plain Diff
Correct dockerfile
parent
cfd5f5c4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+13
-3
13 additions, 3 deletions
Dockerfile
with
13 additions
and
3 deletions
Dockerfile
+
13
−
3
View file @
1eb7fa88
...
...
@@ -2,8 +2,18 @@ ARG SDK_VERSION
FROM
k8r.eu/justjanne/android-sdk:$SDK_VERSION
RUN
apt-get
--quiet
update
--yes
&&
\
apt-get
--quiet
install
--yes
python3 python3-lxml uidmap
apt-get
--quiet
install
--yes
python3 python3-lxml uidmap
iptables
RUN
useradd
-r
-u
1001
-g
builduser builduser
USER
builduser
ARG
UID=1000
ARG
GID=1000
RUN
mkdir
/build/
&&
chown
1000:1000 /build
RUN
groupadd
--gid
${
GID
}
build
RUN
useradd
--uid
${
UID
}
--gid
${
GID
}
--home
/build build
USER
build
ARG
SKIP_IPTABLES=1
RUN
curl
-fsSL
https://get.docker.com/rootless | sh
ARG
XDG_RUNTIME_DIR=/build/.docker/run
ARG
PATH=/build/bin:$PATH
ARG
DOCKER_HOST=unix:///build/.docker/run/docker.sock
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