]>
git.sev.monster Git - docker-abuild.git/log
Carlo Landmeter [Fri, 19 Jun 2020 19:06:49 +0000 (19:06 +0000)]
Merge branch 'rules-ci' into 'master'
ci: switch to using rules
See merge request alpine/docker-abuild!63
Carlo Landmeter [Wed, 17 Jun 2020 19:55:30 +0000 (21:55 +0200)]
ci: switch to using rules
this will not push to docker hub when project is not alpine based
and is not master.
Carlo Landmeter [Fri, 1 May 2020 08:04:40 +0000 (08:04 +0000)]
Explicitly depend on sudo
https://gitlab.alpinelinux.org/alpine/aports/-/commit/
39bd500283b46d2d5f3ad24b360e062592558110
Carlo Landmeter [Mon, 3 Feb 2020 14:14:35 +0000 (15:14 +0100)]
entrypoint: always set correct permissions of abuild conf dir
Carlo Landmeter [Mon, 3 Feb 2020 12:03:30 +0000 (13:03 +0100)]
entrypoint: fix abuild config dir permission
Richard Mortier [Thu, 30 Jan 2020 21:03:29 +0000 (21:03 +0000)]
Merge branch 'multiple_fixes' into 'master'
Multiple fixes and features
See merge request alpine/docker-abuild!60
Carlo Landmeter [Sat, 18 Jan 2020 13:47:15 +0000 (14:47 +0100)]
admin: use correct program and uppercase globals
Carlo Landmeter [Sat, 18 Jan 2020 13:39:04 +0000 (14:39 +0100)]
admin: multiarch add enable/disable with warning
Carlo Landmeter [Tue, 14 Jan 2020 09:21:45 +0000 (10:21 +0100)]
admin: set shell to -eu
Carlo Landmeter [Tue, 14 Jan 2020 09:20:15 +0000 (10:20 +0100)]
add editorconfig support and follow alpine coding style
Carlo Landmeter [Mon, 13 Jan 2020 23:53:11 +0000 (00:53 +0100)]
dabuild: alpine release can have more digits
Carlo Landmeter [Mon, 13 Jan 2020 23:50:31 +0000 (00:50 +0100)]
dabuild: set shell to catch unset vars
assign default values early in dabuild
Carlo Landmeter [Mon, 13 Jan 2020 22:28:13 +0000 (23:28 +0100)]
use git symbolic-ref to get branch name
Carlo Landmeter [Mon, 13 Jan 2020 22:23:52 +0000 (23:23 +0100)]
remove check for packages dir
Packages dir is a docker volume and the mount point will be
automatically created. Permissions will be correct from entrypoint.
Carlo Landmeter [Sat, 11 Jan 2020 21:17:45 +0000 (22:17 +0100)]
admin: add enable multi-arch
Carlo Landmeter [Sat, 11 Jan 2020 16:49:45 +0000 (17:49 +0100)]
make distfiles named volume/bind configuable:
- set to true to enable named volume
- set to absolute path to enable bind mount
Carlo Landmeter [Sat, 11 Jan 2020 15:38:33 +0000 (16:38 +0100)]
add default settings to users abuild.conf
Carlo Landmeter [Sat, 11 Jan 2020 14:11:59 +0000 (15:11 +0100)]
dabuild: do not mount hosts /etc/abuild.conf
On Alpine (and also on other dists) its not safe to share the same
abuild.conf for multiple Alpine releases and architectures. Use the
users .abuild/abuild.conf instead.
Carlo Landmeter [Sat, 11 Jan 2020 14:11:24 +0000 (15:11 +0100)]
entrypoint: simplify abuild key generation
Carlo Landmeter [Fri, 10 Jan 2020 09:31:36 +0000 (10:31 +0100)]
admin: add cmd to list all volumes
Carlo Landmeter [Fri, 10 Jan 2020 09:11:28 +0000 (10:11 +0100)]
rename alpine based variables
Carlo Landmeter [Fri, 10 Jan 2020 08:28:00 +0000 (09:28 +0100)]
add script to administer dabuild
Carlo Landmeter [Fri, 10 Jan 2020 08:16:18 +0000 (09:16 +0100)]
add apk cache and simplify named volumes
- apk supports caching of packages for reuse on next run. This is the
prefered way and should be relativly fast compared to other package
magenagers. This also removed the need for other named volumes which
need to be setup and maintained on each run.
- correcly set perm of volume mount points
Richard Mortier [Sat, 4 Jan 2020 09:40:36 +0000 (09:40 +0000)]
Merge branch 'use-dabuild_docker' into 'master'
dabuild: doh! actually use the indicated `$DABUILD_DOCKER` command
See merge request alpine/docker-abuild!58
Richard Mortier [Mon, 30 Dec 2019 12:51:42 +0000 (13:51 +0100)]
dabuild: doh! actually use the indicated `$DABUILD_DOCKER` command
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Fri, 3 Jan 2020 21:58:53 +0000 (21:58 +0000)]
Merge branch 'github/fork/clandmeter/dabuild-conf' into 'master'
add dabuild.conf support
See merge request alpine/docker-abuild!57
Carlo Landmeter [Thu, 2 Jan 2020 23:23:11 +0000 (00:23 +0100)]
only build images when needed
Carlo Landmeter [Thu, 2 Jan 2020 22:55:53 +0000 (23:55 +0100)]
update readme arch support
Carlo Landmeter [Thu, 2 Jan 2020 22:25:40 +0000 (23:25 +0100)]
fix project and release name
Carlo Landmeter [Thu, 2 Jan 2020 20:29:26 +0000 (21:29 +0100)]
add gitlab ci
Carlo Landmeter [Sat, 28 Dec 2019 14:09:07 +0000 (15:09 +0100)]
dabuild: mount gitconfig in container
abuild-keygen will look for gitconfig to fetch user and email address
and set proper PACKAGER variable in abuild.conf
Carlo Landmeter [Tue, 31 Dec 2019 01:31:49 +0000 (02:31 +0100)]
add dabuild.conf support
Richard Mortier [Sun, 29 Dec 2019 18:25:47 +0000 (19:25 +0100)]
readme: fix instructions for multiarch support
closes #51
Signed-off-by: Richard Mortier <mort@cantab.net>
Carlo Landmeter [Sat, 28 Dec 2019 14:39:03 +0000 (15:39 +0100)]
add alpine v3.11
Richard Mortier [Sun, 29 Dec 2019 15:59:22 +0000 (16:59 +0100)]
readme: add instructions to install multiarch support on Linux
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Sun, 29 Dec 2019 14:04:43 +0000 (15:04 +0100)]
dabuild: put `.ccache` into a named volume, to support multiarch
closes #48
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Sun, 29 Dec 2019 13:44:40 +0000 (14:44 +0100)]
readme: document `sudo` issue and fix
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Fri, 27 Dec 2019 16:45:28 +0000 (17:45 +0100)]
readme: document supported environment variables
Closes #46
Signed-off-by: Richard Mortier <mort@cantab.net>
Joseph Benden [Sat, 20 Jul 2019 01:43:04 +0000 (01:43 +0000)]
feat: add support for ccache-enabled abuild
This introduces support for ccache, when enabled in `abuild`.
Signed-off-by: Joseph Benden <joe@benden.us>
Richard Mortier [Fri, 29 Nov 2019 17:30:11 +0000 (17:30 +0000)]
dabuild: add support for `DABUILD_DOCKER` env var
Closes #45
Signed-off-by: Richard Mortier <mort@cantab.net>
macmpi [Sun, 27 Oct 2019 16:55:24 +0000 (17:55 +0100)]
Workaround for ARCH detection
Restored alpine docker genuinely supported architectures (as other ones are definitely not).
Just give a clue to set wanted DABUILD_ARCH variable at invocation, when uname does not provide adequate info on some platforms like Pi.
Richard Mortier [Fri, 25 Oct 2019 14:21:00 +0000 (15:21 +0100)]
dabuild: more helpful error message, list possible `$ARCH` in `README`
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Fri, 25 Oct 2019 13:32:54 +0000 (14:32 +0100)]
dabuild: fix interpretation of `uname -m` on RPi; closes #41
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Fri, 18 Oct 2019 16:05:47 +0000 (17:05 +0100)]
dabuild: rm image after run by default; control via `$DABUILD_RM`
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Fri, 18 Oct 2019 16:05:27 +0000 (17:05 +0100)]
dabuild: unabstractify `docker` invocation
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Fri, 13 Sep 2019 13:19:10 +0000 (14:19 +0100)]
entrypoint: test if `~/.abuild` writable, fail if not
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Fri, 13 Sep 2019 13:10:09 +0000 (14:10 +0100)]
readme: add note about bash-5.0 issue
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Sat, 7 Sep 2019 22:04:55 +0000 (23:04 +0100)]
whitespace
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Sat, 7 Sep 2019 22:04:24 +0000 (23:04 +0100)]
dabuild: require `aports` tree is exactly in `.../aports/` on host
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Sat, 7 Sep 2019 22:03:32 +0000 (23:03 +0100)]
dabuild: fix `die`
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Fri, 12 Jul 2019 08:58:21 +0000 (09:58 +0100)]
readme: move badge to the top
Signed-off-by: Richard Mortier <mort@cantab.net>
Richard Mortier [Fri, 21 Jun 2019 15:27:22 +0000 (16:27 +0100)]
readme: add ipv6 issue
Richard Mortier [Fri, 12 Jul 2019 08:45:54 +0000 (09:45 +0100)]
Makefile: whitespace
Signed-off-by: Richard Mortier <mort@cantab.net>
tcely [Sat, 22 Jun 2019 14:02:29 +0000 (10:02 -0400)]
Makefile: .drone.yml target
tcely [Sat, 22 Jun 2019 17:54:13 +0000 (13:54 -0400)]
Makefile: add v3.10
Carlo Landmeter [Sat, 22 Jun 2019 09:53:32 +0000 (09:53 +0000)]
dockerfiles: add alpine v3.10
Carlo Landmeter [Sat, 22 Jun 2019 09:50:27 +0000 (09:50 +0000)]
drone: add alpine v3.10
Richard Mortier [Fri, 21 Jun 2019 15:00:20 +0000 (16:00 +0100)]
Merge pull request #26 from tcely/patch-2
drone: do not publish for pull requests
Richard Mortier [Fri, 21 Jun 2019 14:58:58 +0000 (15:58 +0100)]
Merge pull request #24 from tcely/patch-1
Dockerfile: upgrade the installed packages
tcely [Sat, 1 Jun 2019 16:13:13 +0000 (12:13 -0400)]
drone: do not publish for pull requests
tcely [Fri, 31 May 2019 14:53:33 +0000 (10:53 -0400)]
Dockerfile: upgrade the installed packages
This is done before the cache is setup to keep the layer clean.
Resolves #23
Carlo Landmeter [Tue, 21 May 2019 21:41:24 +0000 (21:41 +0000)]
readme: add drone build status
Carlo Landmeter [Tue, 21 May 2019 20:22:50 +0000 (20:22 +0000)]
change image namespace to alpinelinux
ref: GH-20
Carlo Landmeter [Sun, 19 May 2019 20:33:33 +0000 (20:33 +0000)]
makefile: add support for arch based images
Carlo Landmeter [Sun, 19 May 2019 08:33:31 +0000 (08:33 +0000)]
update dockerfiles cleanup and gitignore
Carlo Landmeter [Sat, 18 May 2019 10:53:48 +0000 (10:53 +0000)]
entrypoint: update indexes and world
Carlo Landmeter [Sat, 18 May 2019 10:50:38 +0000 (10:50 +0000)]
dabuild: mount abuild.conf readonly
Carlo Landmeter [Sat, 18 May 2019 10:40:03 +0000 (10:40 +0000)]
drone: add depends_on dockerfiles
this should run steps in parallel
Carlo Landmeter [Fri, 17 May 2019 10:45:55 +0000 (10:45 +0000)]
drone: generate dockerfiles
Carlo Landmeter [Fri, 17 May 2019 08:00:13 +0000 (08:00 +0000)]
dabuild: refactor volumes
- printf -v is not posix
- check for abuild.conf instead of alpine-release
- check if distfiles is writable
- do not mount /var/cache/apk as this will break apkindex
- do not create volumes from makefile
Carlo Landmeter [Fri, 17 May 2019 07:47:29 +0000 (07:47 +0000)]
dabuild: add support for multiple architectures
Carlo Landmeter [Fri, 17 May 2019 06:49:12 +0000 (06:49 +0000)]
add drone image building support
Richard Mortier [Sun, 19 May 2019 20:25:42 +0000 (21:25 +0100)]
dabuild: per @tcely, `mkdir -p` then test for success
tcely [Fri, 17 May 2019 23:45:10 +0000 (19:45 -0400)]
entrypoint: do not install with abuild-keygen
The copy with sudo is going to be done in any case.
Having abuild-keygen do this work also is not needed.
tcely [Fri, 17 May 2019 23:37:24 +0000 (19:37 -0400)]
entrypoint: ensure PACKAGER_PRIVKEY has content
tcely [Fri, 17 May 2019 19:32:45 +0000 (15:32 -0400)]
!fixup entrypoint: copy public keys to /etc/apk/keys directory
Oops. I forgot this runs as builder.
tcely [Wed, 15 May 2019 13:48:01 +0000 (09:48 -0400)]
entrypoint: copy public keys to /etc/apk/keys directory
Richard Mortier [Wed, 15 May 2019 09:09:55 +0000 (10:09 +0100)]
dabuild: segregate `packages/` by version on the host
Richard Mortier [Tue, 14 May 2019 23:39:33 +0000 (00:39 +0100)]
make: don't always push images after building them
tcely [Sat, 11 May 2019 20:29:48 +0000 (16:29 -0400)]
Dockefile: /etc/apk/repositories
- only pull testing from edge
- correct edge tag first, once per line
- remove tag from locally built repos
Richard Mortier [Sat, 11 May 2019 17:22:58 +0000 (18:22 +0100)]
dabuild: better handling of volumes when not built from source
Richard Mortier [Fri, 10 May 2019 21:22:05 +0000 (22:22 +0100)]
docker: fix the `/etc/apk/repositories` properly
Richard Mortier [Fri, 10 May 2019 21:21:15 +0000 (22:21 +0100)]
readme: fix some `make` targets
Richard Mortier [Fri, 10 May 2019 14:57:35 +0000 (15:57 +0100)]
dockerfile: attempt to clean up `/etc/apk/repositories`
Richard Mortier [Fri, 10 May 2019 14:56:26 +0000 (15:56 +0100)]
make: allow `TAGS` to come in from environment
Richard Mortier [Fri, 10 May 2019 14:56:12 +0000 (15:56 +0100)]
dabuild: because I like my lines to not be too long
Richard Mortier [Fri, 3 May 2019 14:17:15 +0000 (15:17 +0100)]
dabuild: more care building volume args, mount extra dirs on alpine
Closes: GH-6
Richard Mortier [Fri, 3 May 2019 14:16:59 +0000 (15:16 +0100)]
dabuild: tweak naming of `DABUILD_PACKAGES`
Richard Mortier [Fri, 3 May 2019 14:16:11 +0000 (15:16 +0100)]
make: set default target correctly, add license info
Richard Mortier [Fri, 3 May 2019 13:41:09 +0000 (14:41 +0100)]
dabuild: fix script to handle `DABUILD_PACKAGES` correctly
Richard Mortier [Fri, 3 May 2019 13:40:57 +0000 (14:40 +0100)]
make: push built images for others to use
Richard Mortier [Fri, 3 May 2019 12:59:03 +0000 (13:59 +0100)]
docker: remove spurious `\`
Richard Mortier [Fri, 3 May 2019 12:57:05 +0000 (13:57 +0100)]
Merge pull request #5 from OTLabs/repos
Add support for setup-apkrepos
Richard Mortier [Wed, 1 May 2019 09:55:31 +0000 (10:55 +0100)]
docker: ignore more irrelevant files
Richard Mortier [Wed, 1 May 2019 09:48:49 +0000 (10:48 +0100)]
make: decouple building images from script
Richard Mortier [Wed, 1 May 2019 09:39:08 +0000 (10:39 +0100)]
dabuild: provide for user-specified `.../packages` directory
Richard Mortier [Wed, 1 May 2019 09:34:24 +0000 (10:34 +0100)]
dabuild: nicer error handling
Richard Mortier [Wed, 1 May 2019 09:33:48 +0000 (10:33 +0100)]
make: turn off buildkit due to odd behaviour (on beta release)
Richard Mortier [Wed, 1 May 2019 09:33:16 +0000 (10:33 +0100)]
whitespace
Oleg Titov [Sun, 28 Apr 2019 16:36:10 +0000 (11:36 -0500)]
Add support for setup-apkrepos
Make possible to configure prefered repo.
By default it will be the first repo in the list (-1).
This page took 0.095599 seconds and 4 git commands to generate.