Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
skiko
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liuqiang
skiko
Commits
f6440a24
Unverified
Commit
f6440a24
authored
Jul 19, 2021
by
Alexey Tsvetkov
Committed by
GitHub
Jul 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Dockerfile for Linux arm64 image (#134)
parent
f948cc39
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
35 additions
and
1 deletion
+35
-1
.gitignore
.gitignore
+0
-1
Dockerfile
skiko/docker/linux-amd64/Dockerfile
+0
-0
build.sh
skiko/docker/linux-amd64/build.sh
+0
-0
run.sh
skiko/docker/linux-amd64/run.sh
+0
-0
Dockerfile
skiko/docker/linux-arm64/Dockerfile
+20
-0
build.sh
skiko/docker/linux-arm64/build.sh
+3
-0
image-name.sh
skiko/docker/linux-arm64/image-name.sh
+1
-0
run.sh
skiko/docker/linux-arm64/run.sh
+11
-0
No files found.
.gitignore
View file @
f6440a24
...
@@ -3,7 +3,6 @@ build
...
@@ -3,7 +3,6 @@ build
.project
.project
local.properties
local.properties
.DS_Store
.DS_Store
run.sh
.idea
.idea
deploy.sh
deploy.sh
deploy.bat
deploy.bat
...
...
skiko/docker/Dockerfile
→
skiko/docker/
linux-amd64/
Dockerfile
View file @
f6440a24
File moved
skiko/docker/build.sh
→
skiko/docker/
linux-amd64/
build.sh
View file @
f6440a24
File moved
skiko/docker/run.sh
→
skiko/docker/
linux-amd64/
run.sh
View file @
f6440a24
File moved
skiko/docker/linux-arm64/Dockerfile
0 → 100644
View file @
f6440a24
FROM
arm64v8/ubuntu:20.04
ARG
DEBIAN_FRONTEND=noninteractive
RUN
apt-get update
-y
RUN
apt-get
install
binutils build-essential
-y
RUN
apt-get
install
software-properties-common
-y
RUN
apt-get
install
python git fontconfig libfontconfig1-dev libglu1-mesa-dev curl wget
-y
RUN
apt-get
install
openjdk-11-jdk
-y
RUN
apt-get
install
clang-11
-y
&&
\
apt-get remove g++
-y
&&
\
update-alternatives
--install
/usr/bin/clang clang /usr/bin/clang-11 100
&&
\
update-alternatives
--install
/usr/bin/clang++ clang++ /usr/bin/clang++-11 100
# Install libs & tools
ENV
DEPOT_TOOLS=/usr/depot_tools
ENV
PATH=$DEPOT_TOOLS:$PATH
RUN
git clone
'https://chromium.googlesource.com/chromium/tools/depot_tools.git'
$DEPOT_TOOLS
# Use UTF-8 by default
ENV
LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
ENV
JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF
\ No newline at end of file
skiko/docker/linux-arm64/build.sh
0 → 100644
View file @
f6440a24
CD
=
$(
dirname
"
$0
"
)
IMAGE_NAME
=
$(
sh
$CD
/image-name.sh
)
docker build
-t
$IMAGE_NAME
$CD
\ No newline at end of file
skiko/docker/linux-arm64/image-name.sh
0 → 100644
View file @
f6440a24
echo
skiko-build-ubuntu-2004-aarch64:latest
\ No newline at end of file
skiko/docker/linux-arm64/run.sh
0 → 100755
View file @
f6440a24
CD
=
$(
dirname
"
$0
"
)
IMAGE_NAME
=
$(
sh
$CD
/image-name.sh
)
SKIKO_ROOT_LOCAL
=
$(
cd
$CD
/../..
&&
pwd
)
docker run
\
--cpus
1
\
--memory
4g
\
--tty
--interactive
\
--volume
$SKIKO_ROOT_LOCAL
:/skiko
\
--workdir
/skiko
\
$IMAGE_NAME
\
bash
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment