Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
B
Babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Railgun
Babeld
Commits
351aa595
Commit
351aa595
authored
May 27, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix dockerfile
parent
23a579ca
Pipeline
#3373
failed with stages
in 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
Dockerfile
Dockerfile
+1
-6
No files found.
.gitlab-ci.yml
View file @
351aa595
...
...
@@ -18,7 +18,7 @@ build-x86:
tags
:
-
docker
script
:
-
docker build --pull -
-build-arg TARGETARCH=amd64 -
t $CONTAINER_TEST_X86_IMAGE .
-
docker build --pull -t $CONTAINER_TEST_X86_IMAGE .
-
docker push $CONTAINER_TEST_X86_IMAGE
build-arm
:
...
...
@@ -26,7 +26,7 @@ build-arm:
tags
:
-
docker-arm
script
:
-
docker build --pull -
-build-arg TARGETARCH=arm64
-t $CONTAINER_TEST_ARM_IMAGE .
-
docker build --pull -
f Dockerfile.arm
-t $CONTAINER_TEST_ARM_IMAGE .
-
docker push $CONTAINER_TEST_ARM_IMAGE
combine
:
...
...
Dockerfile
View file @
351aa595
FROM
archlinux
as target-amd64
FROM
archlinux
RUN
echo
'Server = https://mirrors.aliyun.com/archlinux/$repo/os/$arch'
>
/etc/pacman.d/mirrorlist
FROM
lopsided/archlinux as target-arm64
RUN
echo
'Server = https://mirrors.aliyun.com/archlinuxarm/$arch/$repo/'
>
/etc/pacman.d/mirrorlist
FROM
target-${TARGETARCH}
RUN
pacman
-Syu
--noconfirm
babeld
CMD
["babeld"]
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