forked from go-vela/vela-kaniko
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (16 loc) · 851 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright (c) 2022 Target Brands, Inc. All rights reserved.
#
# Use of this source code is governed by the LICENSE file in this repository.
#########################################################################
## docker build --no-cache --target certs -t vela-kaniko:certs . ##
#########################################################################
FROM alpine as certs
RUN apk add --update --no-cache ca-certificates
##########################################################
## docker build --no-cache -t vela-kaniko:local . ##
##########################################################
FROM gcr.io/kaniko-project/executor:v1.7.0-debug
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
WORKDIR /workspace
COPY release/vela-kaniko /bin/vela-kaniko
ENTRYPOINT [ "/bin/vela-kaniko" ]