mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-06 01:11:23 +00:00
pkg: Update most packages to new alpine base
Also make the HUB org/registry build time configurable for these packages. Others will be reworked in sub sequent commits. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM linuxkit/alpine:c5021a113803f7608e3908014d316c3490183d0b@sha256:4c7a80173c71ca5019dc56f40442b3a8345f141dd46593bd1fe6d130294d07cb as alpine
|
||||
FROM linuxkit/alpine:6336329f15b4166514782eaa555cf0ffd35c519c@sha256:f6c2ce92910b1d6e4e5557850a554f4a3ae9f66c1e89ad86a24d6c6e550f165e as alpine
|
||||
|
||||
RUN apk add ca-certificates
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
.PHONY: tag push
|
||||
|
||||
ORG?=linuxkit
|
||||
IMAGE=ca-certificates
|
||||
|
||||
HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}')
|
||||
@@ -7,7 +8,7 @@ HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}')
|
||||
default: push
|
||||
|
||||
tag: Dockerfile
|
||||
docker build --network=none -t linuxkit/$(IMAGE):$(HASH) .
|
||||
docker build --network=none -t $(ORG)/$(IMAGE):$(HASH) .
|
||||
|
||||
push: tag
|
||||
docker pull linuxkit/$(IMAGE):$(HASH) || docker push linuxkit/$(IMAGE):$(HASH)
|
||||
docker pull $(ORG)/$(IMAGE):$(HASH) || docker push $(ORG)/$(IMAGE):$(HASH)
|
||||
|
Reference in New Issue
Block a user