File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
4
# build
5
- FROM public.ecr.aws/docker/library/golang:1.22.7-bullseye as builder
5
+ FROM public.ecr.aws/docker/library/golang:1.22.7-bullseye AS builder
6
6
ARG VERSION
7
- ARG COMMIT
8
7
ARG DATE
9
8
RUN mkdir /build
10
9
ADD . /build/
@@ -14,10 +13,10 @@ RUN CGO_ENABLED=0 GO111MODULE=on go build \
14
13
-X sigs.k8s.io/kustomize/api/provenance.buildDate=${DATE}"
15
14
16
15
# only copy binary
17
- FROM alpine
16
+ FROM public.ecr.aws/docker/library/ alpine
18
17
# install dependencies
19
18
RUN apk add --no-cache git openssh
20
19
COPY --from=builder /build/kustomize/kustomize /app/
21
20
WORKDIR /app
22
- ENV PATH "$PATH:/app"
21
+ ENV PATH= "$PATH:/app"
23
22
ENTRYPOINT ["/app/kustomize" ]
Original file line number Diff line number Diff line change 26
26
--build-arg
27
27
VERSION=${_PULL_BASE_REF}
28
28
--build-arg
29
- COMMIT=$(git rev-parse HEAD)
30
- --build-arg
31
29
DATE=$(date -u +%FT%TZ)
32
30
.
33
31
You can’t perform that action at this time.
0 commit comments