-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile.slim
More file actions
23 lines (14 loc) · 858 Bytes
/
Copy pathDockerfile.slim
File metadata and controls
23 lines (14 loc) · 858 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.4@sha256:5b10f432ef3da1b8d4c7eb6c487f2f5a8f096bc91145e68878dd4a5019afde11 as certs
RUN apk add --update --no-cache ca-certificates
#######################################################
## docker build --no-cache -t vela-git:local . ##
#######################################################
FROM alpine:3.23.4@sha256:5b10f432ef3da1b8d4c7eb6c487f2f5a8f096bc91145e68878dd4a5019afde11
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
RUN apk add --update --no-cache git
COPY release/vela-git /bin/vela-git
ENTRYPOINT [ "/bin/vela-git" ]