You are not logged in.

#1 2018-08-15 08:11:04

stri
Member
Registered: 2014-06-09
Posts: 72

How to freeze packages in docker image

Regarding the freezing of an Arch docker image, i.e. make it reproducible from a code repository, the wiki suggests as one option to use the Arch Linux Archive by freezing

/etc/pacman.d/mirrorlist

Is the suggestion to do this in the configuration file for the "pacstrap" command in the Makefile, or at some point later?

So I clone the archlinux-docker repository, create a file "MyMirror" containing, say,

Server=https://archive.archlinux.org/repos/2018/05/01/$repo/os/$arch

then edit

/usr/share/devtools/pacman-extra.conf

to point  to ./MyMirror, and that's it?  Is this the way to do it? Thanks for your help!

Last edited by stri (2018-08-15 08:27:28)

Offline

Board footer

Powered by FluxBB