Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
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
Chen Yisong
lxc
Commits
28814221
Unverified
Commit
28814221
authored
Mar 14, 2017
by
Jakub Jirutka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-alpine: add community repository to default repositories
Signed-off-by:
Jakub Jirutka
<
jakub@jirutka.cz
>
parent
d32e7cd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
lxc-alpine.in
templates/lxc-alpine.in
+4
-2
No files found.
templates/lxc-alpine.in
View file @
28814221
...
...
@@ -236,7 +236,6 @@ install() {
local
branch
=
"
$3
"
local
extra_packages
=
"
$4
"
local
apk_cache
=
"
$LXC_CACHE_DIR
/apk/
$arch
"
local
repo_url
=
"
$MIRROR_URL
/
$branch
/main"
if
[
"
$FLUSH_CACHE
"
=
'yes'
]
&&
[
-d
"
$apk_cache
"
]
;
then
einfo
"Cleaning cached APK packages for
$arch
"
...
...
@@ -249,7 +248,10 @@ install() {
mkdir
-p
etc/apk
ln
-s
"
$apk_cache
"
etc/apk/cache
echo
"
$repo_url
"
>
etc/apk/repositories
local
repo
;
for
repo
in
main community
;
do
echo
"
$MIRROR_URL
/
$branch
/
$repo
"
>>
etc/apk/repositories
done
install_packages
"
$arch
"
"alpine-base
$extra_packages
"
make_dev_nodes
...
...
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