Mail archive
alpine-devel

Re: [alpine-devel] Building alpine linux from source code

From: Tuan Hoang <tmhoang_at_linux.ibm.com>
Date: Tue, 4 Jun 2019 22:46:41 +0200

Hi,

$ sudo apk add abuild
$ sudo addgroup your-user abuild
--- log out and log in ---
$ abuild-keygen -a
--- copy your pub key in ~/.abuild/ to /etc/apk/keys/
$ git clone git://git.alpinelinux.org/aports
$ cd aports/scripts
$ mkdir outdir workdir
$ ./mkimage.sh --arch x86_64 --hostkeys --profile minirootfs \
        --outdir outdir --workdir workdir \
        --repository http://dl-cdn.alpinelinux.org/alpine/v3.9/main \

$ ./mkimage.sh --help for more info.

Cheers,

On 6/4/19 10:38 AM, Oguzhan Oezkut wrote:
> Hello,
>
> I working on a presentation about docker and alpine for the school.
>
> I would like to build certain alpine binaries from the scratch from
> source code. I’m looking for the build script for
> “*alpine-minirootfs-3.9.4-x86_64.tar.gz*” which is available at
> http://dl-cdn.alpinelinux.org/alpine/v3.9/releases/x86_64/
>
> However, I looking for the exact source code and the build script and if
> possible some information how to build, like build script parameters and
> build environment.
>
> It would be great if you could help me!
>
>  
>
> Thanks in advanced
>
> Oguzhan
>
>  
>
> --- Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org Help:
> alpine-devel+help_at_lists.alpinelinux.org ---



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Tue Jun 04 2019 - 22:46:41 UTC