Skip to content

Commit

Permalink
alpine-docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Rune committed Aug 5, 2016
1 parent 260faac commit 19e7048
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ ISO_PKGDIR := $(ISO_DIR)/apks/$(ALPINE_ARCH)
APKS ?= $(shell sed 's/\#.*//; s/\*/\\*/g' $(PROFILE).packages)

APK_KEYS ?= /etc/apk/keys
APK_OPTS := $(addprefix --repository ,$(APK_REPOS)) --keys-dir $(APK_KEYS) --repositories-file /etc/apk/repositories
#APK_OPTS := $(addprefix --repository ,$(APK_REPOS)) --keys-dir $(APK_KEYS) --repositories-file /etc/apk/repositories
APK_OPTS := $(addprefix --repository ,$(APK_REPOS)) --keys-dir $(APK_KEYS) --repositories-file $(shell pwd)/repositories

APK_FETCH_STDOUT := apk fetch $(APK_OPTS) --stdout --quiet

Expand Down Expand Up @@ -503,7 +504,7 @@ ifeq ($(ALPINE_ARCH),armhf)
profiles ?= alpine-rpi alpine-uboot
else
ifeq ($(ALPINE_ARCH),x86_64)
profiles ?= alpine alpine-extended alpine-vanilla alpine-virt alpine-xen
profiles ?= alpine alpine-docker alpine-extended alpine-vanilla alpine-virt alpine-xen
else
profiles ?= alpine alpine-extended alpine-vanilla alpine-virt
endif
Expand All @@ -529,7 +530,7 @@ all-release: current $(addsuffix .conf.mk, $(profiles))
PROFILE=$$i release || break; \
done

edge desktop extended xen vanilla rpi uboot virt: current
edge desktop docker extended xen vanilla rpi uboot virt: current
@fakeroot $(MAKE) ALPINE_RELEASE=$(current) PROFILE=alpine-$@ sha1

.PRECIOUS: $(MODLOOP_KERNELSTAMP) $(MODLOOP_DIRSTAMP) $(INITFS_DIRSTAMP) $(INITFS) $(ISO_KERNEL_STAMP)
Expand Down
7 changes: 7 additions & 0 deletions alpine-docker.conf.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ALPINE_NAME := alpine-docker
MODLOOP_EXTRA :=
KERNEL_FLAVOR := grsec
KERNEL_FLAVOR_DEFAULT := grsec
BOOT_OPTS := nomodeset console=tty0 console=ttyS0,115200
SYSLINUX_SERIAL := serial 0 115200

10 changes: 10 additions & 0 deletions alpine-docker.packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
bkeymaps
alpine-base
alpine-mirrors
btrfs-progs-extra
vim
docker
openssl
openssh
chrony
tzdata
3 changes: 3 additions & 0 deletions repositories
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
http://dl-cdn.alpinelinux.org/alpine/edge/testing
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/main

0 comments on commit 19e7048

Please sign in to comment.