caching apt
This commit is contained in:
@@ -2,7 +2,6 @@ FROM debian:stable-slim
|
||||
|
||||
# APT-cache for all
|
||||
RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.list
|
||||
RUN sed -i 's@deb.debian.org@apt-cache.lan/deb.debian.org@g' /etc/apt/sources.list.d/*
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -45,13 +45,6 @@ spec:
|
||||
- name: builtImage
|
||||
type: image
|
||||
steps:
|
||||
- name: debug-print
|
||||
image: busybox
|
||||
command:
|
||||
- echo
|
||||
args:
|
||||
- ockerfile: $(params.pathToContainerFile)
|
||||
- contextPath: $(params.pathToContext)
|
||||
- name: build-and-push
|
||||
image: gcr.io/kaniko-project/executor:arm64
|
||||
# specifying DOCKER_CONFIG is required to allow kaniko to detect docker credential
|
||||
|
||||
Reference in New Issue
Block a user