-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (14 loc) · 877 Bytes
/
Dockerfile
File metadata and controls
23 lines (14 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-License-Identifier: Apache-2.0
######################################################################
## docker build --no-cache --target certs -t vela-git:certs . ##
######################################################################
FROM alpine:3.23.3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659 as certs
RUN apk add --update --no-cache ca-certificates
#######################################################
## docker build --no-cache -t vela-git:local . ##
#######################################################
FROM alpine:3.23.3@sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
RUN apk add --update --no-cache git git-lfs github-cli
COPY release/vela-git /bin/vela-git
ENTRYPOINT [ "/bin/vela-git" ]